log4net SDK Reference

Logger.Log Method (LoggingEvent)

This is the most generic printing method that is intended to be used by wrappers.

[Visual Basic]
Overridable Overloads Public Sub Log( _
   ByVal logEvent As LoggingEvent _
) _
    Implements ILogger.Log
[C#]
public virtual void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
The event being logged.

Implements

ILogger.Log

Remarks

Logs the specified logging event through this logger.

This method must not throw any exception to the caller.

See Also

Logger Class | log4net.Repository.Hierarchy Namespace | Logger.Log Overload List