Implementation of
ILog wrapper interface.
System Object log4net.Core LoggerWrapperImpl log4net.Core LogImplNamespace: log4net.CoreAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
public class LogImpl : LoggerWrapperImpl, ILog,
ILoggerWrapper
public class LogImpl : LoggerWrapperImpl, ILog,
ILoggerWrapper
Public Class LogImpl
Inherits LoggerWrapperImpl
Implements ILog, ILoggerWrapper
Public Class LogImpl
Inherits LoggerWrapperImpl
Implements ILog, ILoggerWrapper
public ref class LogImpl : public LoggerWrapperImpl,
ILog, ILoggerWrapper
public ref class LogImpl : public LoggerWrapperImpl,
ILog, ILoggerWrapper
This implementation of the ILog interface
forwards to the ILogger held by the base class.
This logger has methods to allow the caller to log at the following
levels:
- DEBUG
-
The [M:Debug(object)] and [M:DebugFormat(string, object[])] methods log messages
at the DEBUG level. That is the level with that name defined in the
repositories LevelMap. The default value
for this level is Debug. The IsDebugEnabled
property tests if this level is enabled for logging.
- INFO
-
The [M:Info(object)] and [M:InfoFormat(string, object[])] methods log messages
at the INFO level. That is the level with that name defined in the
repositories LevelMap. The default value
for this level is Info. The IsInfoEnabled
property tests if this level is enabled for logging.
- WARN
-
The [M:Warn(object)] and [M:WarnFormat(string, object[])] methods log messages
at the WARN level. That is the level with that name defined in the
repositories LevelMap. The default value
for this level is Warn. The IsWarnEnabled
property tests if this level is enabled for logging.
- ERROR
-
The [M:Error(object)] and [M:ErrorFormat(string, object[])] methods log messages
at the ERROR level. That is the level with that name defined in the
repositories LevelMap. The default value
for this level is Error. The IsErrorEnabled
property tests if this level is enabled for logging.
- FATAL
-
The [M:Fatal(object)] and [M:FatalFormat(string, object[])] methods log messages
at the FATAL level. That is the level with that name defined in the
repositories LevelMap. The default value
for this level is Fatal. The IsFatalEnabled
property tests if this level is enabled for logging.
The values for these levels and their semantic meanings can be changed by
configuring the LevelMap for the repository.