Options[Get] The logger options. All loggers created by this factory will share these options. | |
LogSink[Get] The log sink loggers will write to by default. | |
Ignores logs in editor if less than log level. Changing this value at runtime will update it for all existing VLoggers. | |
LogSuppressionLevel[Get] Logs that are lower than this level will be suppressed by default. Suppressed logs will not be written unless an error occurs with a related correlation ID or they are explicitly flushed. Changing this value at runtime will update it for all existing VLoggers. | |
bool | PoolLoggers[Get] When true, caches the loggers and reuse them for the same category. This should always be set to true, except in rare circumstances (such as unit tests). |
IEnumerable< IVLogger > | AllLoggers[Get] Returns a list of all loggers the registry created. |
LoggerOptions Meta.Voice.Logging.ILoggerRegistry.Options |
---|
The logger options. All loggers created by this factory will share these options. |
ILogSink Meta.Voice.Logging.ILoggerRegistry.LogSink |
---|
The log sink loggers will write to by default. |
VLoggerVerbosity Meta.Voice.Logging.ILoggerRegistry.EditorLogFilteringLevel |
---|
Ignores logs in editor if less than log level. Changing this value at runtime will update it for all existing VLoggers. |
VLoggerVerbosity Meta.Voice.Logging.ILoggerRegistry.LogSuppressionLevel |
---|
Logs that are lower than this level will be suppressed by default. Suppressed logs will not be written unless an error occurs with a related correlation ID or they are explicitly flushed. Changing this value at runtime will update it for all existing VLoggers. |
bool Meta.Voice.Logging.ILoggerRegistry.PoolLoggers |
---|
When true, caches the loggers and reuse them for the same category. This should always be set to true, except in rare circumstances (such as unit tests). |
IEnumerable<IVLogger> Meta.Voice.Logging.ILoggerRegistry.AllLoggers |
---|
Returns a list of all loggers the registry created. |
IVLogger Meta.Voice.Logging.ILoggerRegistry.GetLogger ( ILogSink logSink ) |
---|
Gets a logger with an inferred category. Parameters logSync An optional log sink. Returns The logger |
IVLogger Meta.Voice.Logging.ILoggerRegistry.GetLogger ( string category, ILogSink logSink ) |
---|
Gets a logger with an explicitly specified category. Parameters category The category of the logs written by this logger. logSinkReturns The logger |