Creates a new logging event and logs the event without further checks.
Namespace: log4net.Repository.HierarchyAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
protected virtual void ForcedLog(
Type callerStackBoundaryDeclaringType,
Level level,
Object message,
Exception exception
)
protected virtual void ForcedLog(
Type callerStackBoundaryDeclaringType,
Level level,
Object message,
Exception exception
)
Protected Overridable Sub ForcedLog (
callerStackBoundaryDeclaringType As Type,
level As Level,
message As Object,
exception As Exception
)
Protected Overridable Sub ForcedLog (
callerStackBoundaryDeclaringType As Type,
level As Level,
message As Object,
exception As Exception
)
protected:
virtual void ForcedLog(
Type^ callerStackBoundaryDeclaringType,
Level^ level,
Object^ message,
Exception^ exception
)
protected:
virtual void ForcedLog(
Type^ callerStackBoundaryDeclaringType,
Level^ level,
Object^ message,
Exception^ exception
)
Parameters
- callerStackBoundaryDeclaringType
- Type: System Type
The declaring type of the method that is
the stack boundary into the logging system for this call.
- level
- Type: log4net.Core Level
The level of the message to be logged.
- message
- Type: System Object
The message object to log.
- exception
- Type: System Exception
The exception to log, including its stack trace.
Generates a logging event and delivers it to the attached
appenders.