LogImpl DebugFormat Method (IFormatProvider, String, Object ) | Apache log4net™ SDK Documentation

Logs a formatted message string with the DEBUG level.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public virtual void DebugFormat(
    	IFormatProvider provider,
    	string format,
    	params Object[] args
    )

    Public Overridable Sub DebugFormat (
    	provider As IFormatProvider,
    	format As String,
    	ParamArray args As Object()
    )

    public:
    virtual void DebugFormat(
    	IFormatProvider^ provider,
    	String^ format,
    	... array<Object^>^ args
    )

    abstract DebugFormat :
            provider : IFormatProvider *
            format : string *
            args : Object[] -> unit
    override DebugFormat :
            provider : IFormatProvider *
            format : string *
            args : Object[] -> unit

#### Parameters

provider
  Type: System
  IFormatProvider
  An IFormatProvider that supplies culture-specific formatting information
format
  Type: System
  String
  A String containing zero or more format items
args
  Type:
  System
  Object
  An Object array containing zero or more objects to format

#### Implements

ILog
DebugFormat(IFormatProvider, String,
Object
)
Remarks

The message is formatted using the [M:String.Format(IFormatProvider, string, object[])] method. See String.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 [M:Debug(object)] methods instead.

See Also

#### Reference

LogImpl Class
DebugFormat Overload
log4net.Core Namespace