log4net SDK Reference |

# Hierarchy.Log Method

Log the logEvent through this hierarchy.

[Visual Basic]
Overrides Public Sub Log( _
ByVal logEvent As LoggingEvent _
) _
Implements ILoggerRepository.Log
[C#]
public override 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

Hierarchy Class | log4net.Repository.Hierarchy Namespace