ConsoleLogEvents
A static class in Root.Township, Alta.Console.
Publishes server log lines as console events (TraceLog to FatalLog) so websocket console clients can subscribe to them.
- Listed in Console, logging and analytics
- Nested types
LogEvent
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private static ConsoleEvent<ConsoleLogEvents.LogEvent>[] LogEvents | One console event per log level, indexed by NLog level ordinal. |
private static Logger logger | NLog logger for this class. |
Methods
| Member | What it is |
|---|---|
static void Initialize() | Hooks HandleLog onto ServerConsoleLogTarget.LogSentRaw. Called from ConsoleEventProcessor's static constructor. |