log4net SDK Reference

ILoggerRepository.Log Method 

Log the LoggingEvent through this repository.

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

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