log4net SDK Reference

LoggerRepositorySkeleton.Log Method 

Log the logEvent through this repository.

[Visual Basic]
MustOverride Public Sub Log( _
   ByVal logEvent As LoggingEvent _
) _
    Implements ILoggerRepository.Log
[C#]
public abstract void Log(
   LoggingEvent logEvent
);

Parameters

logEvent
the event to log

Implements

ILoggerRepository.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

LoggerRepositorySkeleton Class | log4net.Repository Namespace