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

Creates a new logging event and logs the event without further checks.

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

C#
VB
C++
F#
Copy

    protected virtual void ForcedLog(
    	LoggingEvent logEvent
    )

    Protected Overridable Sub ForcedLog (
    	logEvent As LoggingEvent
    )

    protected:
    virtual void ForcedLog(
    	LoggingEvent^ logEvent
    )

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

#### Parameters

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

Remarks

Delivers the logging event to the attached appenders.

See Also

#### Reference

Logger Class
ForcedLog Overload
log4net.Repository.Hierarchy Namespace