Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

LogImpl Class

Implementation of ILog wrapper interface.

For a list of all members of this type, see LogImpl Members.

System.Object
���log4net.Core.LoggerWrapperImpl
������log4net.Core.LogImpl

[Visual�Basic]
Public�Class�LogImpl
����Inherits�LoggerWrapperImpl
����Implements�ILog
[C#]
public�class�LogImpl : LoggerWrapperImpl, ILog

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

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 Debug and DebugFormat 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 Info and InfoFormat 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 Warn and WarnFormat 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 Error and ErrorFormat 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 Fatal and FatalFormat 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.

Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

See Also

LogImpl Members | log4net.Core Namespace