API reference
API reference
Select your platform
No SDKs available
No versions available

ILoggerRegistry Interface

Used to create VSDK loggers.

Properties

The logger options. All loggers created by this factory will share these options.
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.
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.
The level at which we collect and write stack traces.
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).
Returns a list of all loggers the registry created.

Member Functions

Gets a logger with a category pulled from the source directly.
Parameters
logCategory
The category of the logs written by this logger.
logSink
An optional log sink.
Returns
The logger.
Gets a logger with an explicitly specified category.
Gets a logger with an explicitly specified category.
Parameters
logSink
An optional log sink.
Returns
The logger.
Parameters
category
The category of the logs written by this logger.
logSink
An optional log sink.
Returns
The logger.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon