Enum LogLevel
Severity of a log entry, ordered so that the whole level gate is one integer comparison.
Namespace: MOSAIC.Diagnostics
Assembly: MOSAIC.dll
Syntax
public enum LogLevel
Remarks
The numeric values are part of the contract: IsEnabled(LogLevel) is a single
>= against MinimumLevel, which is what keeps a disabled call site
down to one volatile read on a data thread.
Fields
| Name | Description |
|---|---|
| Debug | Per-packet detail. Off in a Release build unless the student turns it on. |
| Error | An operation failed. This is what a bug report should be searched for. |
| Info | Lifecycle: a device connected, a pipeline started, a file was written. |
| None | Logging off. Valid only as a MinimumLevel; no entry ever carries it, because an entry at "None" could never pass its own gate. |
| Warn | Something went wrong but the run continues, possibly degraded. |