LoggerLog Method (Level, Object, Exception)Apache log4net™ SDK Documentation
This is the most generic printing method. This generic form 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

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

Parameters

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

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

See Also

Reference