ILoggerRepositoryLog Method Apache log4net™ SDK Documentation
Log the LoggingEvent through this repository.

Namespace: log4net.Repository
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

void Log(
	LoggingEvent logEvent
)

Parameters

logEvent
Type: log4net.CoreLoggingEvent
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(string) method.

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

See Also

Reference