LogImpl Debug Method (Object)Apache log4net™ SDK Documentation
Logs a message object with the DEBUG level.

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

public virtual void Debug(
	Object message
)

Implements

ILog Debug(Object)
Remarks

This method first checks if this logger is DEBUG enabled by comparing the level of this logger with the DEBUG level. If this logger is DEBUG enabled, then it converts the message object (passed as parameter) to a string by invoking the appropriate IObjectRenderer. It then proceeds to call all the registered appenders in this logger and also higher in the hierarchy depending on the value of the additivity flag.

WARNING Note that passing an OnlineException to this method will print the name of the OnlineException but no stack trace. To print a stack trace use the [M:Debug(object,Exception)] form instead.

See Also