Hierarchy.Log Method
HierarchyLog Method Apache log4net™ SDK Documentation
Log the logEvent through this hierarchy.

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

public override void Log(
	LoggingEvent logEvent
)

Parameters

logEvent
Type: log4net.CoreLoggingEvent
the event to log

Implements

ILoggerRepositoryLog(LoggingEvent)
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