This class is used by client applications to request logger instances.
Inheritance Hierarchy
log4net LogManager
Namespace: log4net
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Remarks
This class has static methods that are used by a client to request a logger instance. The [M:GetLogger(string)] method is used to retrieve a logger.
See the ILog interface for more details.
Examples
ILog log = LogManager.GetLogger("application-log"); log.Info("Application Start"); log.Debug("This is a debug message"); if (log.IsDebugEnabled) { log.Debug("This is another debug message"); }
Thread Safety
See Also