Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILoggerRepository.Log�Method�

Log the LoggingEvent through this repository.

[Visual�Basic]
Sub�Log( _
���ByVal logEvent�As�LoggingEvent�_
)
[C#]
void�Log(
���LoggingEventlogEvent
);

Parameters

logEvent
the event to log

Remarks

This method should not normally be used to log. The ILog interface should be used for routine logging. This interface can be obtained using the GetLogger method.

The logEvent is delivered to the appropriate logger and that logger is then responsible for logging the event.

See Also

ILoggerRepository Interface | log4net.Repository Namespace