LoggerRepositorySkeleton Log Method | Apache log4net™ SDK Documentation

Log the logEvent through this repository.

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

C#
VB
C++
F#
Copy

    public abstract void Log(
    	LoggingEvent logEvent
    )

    Public MustOverride Sub Log (
    	logEvent As LoggingEvent
    )

    public:
    virtual void Log(
    	LoggingEvent^ logEvent
    ) abstract

    abstract Log :
            logEvent : LoggingEvent -> unit

#### Parameters

logEvent
  Type: log4net.Core
  LoggingEvent
  the event to log

#### Implements

ILoggerRepository
Log(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

LoggerRepositorySkeleton Class
log4net.Repository Namespace