SpikeLogType - Overdrive77/BioSynapStudio-Public GitHub Wiki
SpikeLogType
Enum
Specifies the logging behavior for neuron spike activity, supporting console output, file persistence, or both.
Namespace
BioSynapStudio.Net.Core.Enums
Assembly
BioSynapStudio.Net.dll
Summary
The SpikeLogType
enum defines the types of output available for logging neuron spike events during simulation. It allows developers to choose whether logs are written to the console, saved to disk, or both for analysis and debugging.
Enum Values
Name | Value | Description |
---|---|---|
OFF |
0 |
No logging will be performed. |
SaveToDisk |
1 |
Logs will be saved to disk only (e.g., for later analysis). |
WriteToConsole |
2 |
Logs will be written to the console only (for real-time feedback). |
SaveToDiskAndWriteToConsole |
3 |
Logs will be both saved to disk and written to the console. |
Usage Example
simulator.SpikeLogger.LogType = SpikeLogType.SaveToDiskAndWriteToConsole;
Remarks
This enum is commonly used in conjunction with the SpikeLogger
or similar logging services. It enables flexible runtime configuration of output preferences, particularly useful during debugging or long-term spike analysis sessions.
See Also
- [
Neuron
](https://github.com/Overdrive77/BioSynapStudio-Public/wiki/Neuron - [
Neuron
](https://github.com/Overdrive77/BioSynapStudio-Public/wiki/Neuron - [
SpikeLogger
](https://github.com/Overdrive77/BioSynapStudio-Public/wiki/SpikeLogger
Legal Notice This software constitutes original intellectual property of the author, protected under international copyright and patent law. Patent: GB2506327.2 – Synthesized Emotional Cognition (SEC) DOI: 10.17605/OSF.IO/XERKF