Creates a new logging event and logs the event without further checks.
Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
protected virtual void ForcedLog( Type callerStackBoundaryDeclaringType, Level level, Object message, Exception exception )
Parameters
- callerStackBoundaryDeclaringType
- Type: SystemType
The declaring type of the method that is the stack boundary into the logging system for this call. - level
- Type: log4net.CoreLevel
The level of the message to be logged. - message
- Type: SystemObject
The message object to log. - exception
- Type: SystemException
The exception to log, including its stack trace.
Remarks
Generates a logging event and delivers it to the attached appenders.
See Also