ILogExtensions ClassApache log4net™ SDK Documentation
The static class ILogExtensions contains a set of widely used methods that ease the interaction with the ILog interface implementations.
Inheritance Hierarchy

OnlineSystem Object
  log4net.Util ILogExtensions

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static class ILogExtensions
Remarks

This class contains methods for logging at different levels and checks the properties for determining if those logging levels are enabled in the current configuration.

Examples

Simple example of logging messages
using log4net.Util;

ILog log = LogManager.GetLogger("application-log");

log.InfoExt("Application Start");
log.DebugExt("This is a debug message");
See Also