Logger Log Method (Type, Level, Object, Exception)Apache log4net™ SDK Documentation
This generic form is intended to be used by wrappers.

Namespace: log4net.Repository.Hierarchy
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public virtual void Log(
	Type callerStackBoundaryDeclaringType,
	Level level,
	Object message,
	Exception exception
)

Parameters

callerStackBoundaryDeclaringType
Type: OnlineSystem 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: OnlineSystem Object
The message object to log.
exception
Type: OnlineSystem Exception
The exception to log, including its stack trace.

Implements

ILogger Log(Type, Level, Object, Exception)
Remarks

Generate a logging event for the specified level using the message and exception.

This method must not throw any exception to the caller.

See Also