Current metadata stored on this logger.
Attaches an ILogHandler
to this instance. All created ILogRecord
s will
be passed to the given handler.
Handler that receives created ILogRecords
Optional condition for adding the handler
.
Allows handlers
to be added conditionally while using a fluent api.
Adds a metadata object to the logger which will be included in created ILogRecord
s.
New metadata will be merged with existing metadata. Existing keys will be overwritten.
Metadata to add to the logger
Sends a log record with the level CRITICAL to all handlers.
Sends a log record with the level DEBUG to all handlers.
Sends a log record with the level ERROR to all handlers.
Sends a log record with the level INFO to all handlers.
Sends a log record with the level VERBOSE to all handlers.
Sends a log record with the level WARNING to all handlers.
Creates a new logger
scoped to a given context
. All current handlers and metadata
is copied over to the logger.
New scope for the logger.
Generated using TypeDoc
Current context this logger is scoped to.