Logger Log Method (LoggingEvent) | Apache log4net™ SDK Documentation

This is the most generic printing method that is intended to be used by wrappers.

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

C#
VB
C++
F#
Copy

    public virtual void Log(
    	LoggingEvent logEvent
    )

    Public Overridable Sub Log (
    	logEvent As LoggingEvent
    )

    public:
    virtual void Log(
    	LoggingEvent^ logEvent
    )

    abstract Log :
            logEvent : LoggingEvent -> unit
    override Log :
            logEvent : LoggingEvent -> unit

#### Parameters

logEvent
  Type: log4net.Core
  LoggingEvent
  The event being logged.

#### Implements

ILogger
Log(LoggingEvent)
Remarks

Logs the specified logging event through this logger.

This method must not throw any exception to the caller.

See Also

#### Reference

Logger Class
Log Overload
log4net.Repository.Hierarchy Namespace