Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILogExtensions.DebugFormatExt�Method�(ILog, IFormatProvider, String, Object[])

Logs a formatted message string with the Debug level.

[Visual�Basic]
Overloads�Public�Shared�Sub�DebugFormatExt( _
���ByVal logger�As�ILog,�_
���ByVal provider�As�IFormatProvider,�_
���ByVal format�As�String,�_
���ParamArray args�As�Object()�_
)
[C#]
public�static�void�DebugFormatExt(
���ILoglogger,
���IFormatProviderprovider,
���stringformat,
���params�object[]args
);

Parameters

logger
The logger on which the message is logged.
provider
An IFormatProvider that supplies culture-specific formatting information
format
A String containing zero or more format items
args
An Object array containing zero or more objects to format

Remarks

The message is formatted using the String.Format method. See Format for details of the syntax of the format string and the behavior of the formatting.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the DebugExt methods instead.

See Also

ILogExtensions Class | log4net.Util Namespace | ILogExtensions.DebugFormatExt Overload List | Debug | IsDebugEnabled