Home -> Logger

Declaration

class Logger : public ILogger;

Description

The Logger class is the standard concrete implementation of ILogger used by LogManager.

Applications usually do not construct this type directly. The constructor is private to the logging implementation, and logger instances are created through LogManager.GetLogger, ILogger.CloneLogger, or ILogger.GetLoggerChildScope.

WarningWarning

A Logger stores a reference to its owning LogManager. The manager must outlive the logger.

ImportantImportant

Logger instances are safe to use concurrently from multiple threads.

Members

Lifetime methods

Name Description
Public member Delete
Deletes the logger object.

See also