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

Logs a formatted message string with the FATAL 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 FatalFormat(
    	string format,
    	Object arg0,
    	Object arg1,
    	Object arg2
    )

    Public Overridable Sub FatalFormat (
    	format As String,
    	arg0 As Object,
    	arg1 As Object,
    	arg2 As Object
    )

    public:
    virtual void FatalFormat(
    	String^ format,
    	Object^ arg0,
    	Object^ arg1,
    	Object^ arg2
    )

    abstract FatalFormat :
            format : string *
            arg0 : Object *
            arg1 : Object *
            arg2 : Object -> unit
    override FatalFormat :
            format : string *
            arg0 : Object *
            arg1 : Object *
            arg2 : Object -> unit

#### Parameters

format
  Type: System
  String
  A String containing zero or more format items
arg0
  Type: System
  Object
  An Object to format
arg1
  Type: System
  Object
  An Object to format
arg2
  Type: System
  Object
  An Object to format

#### Implements

ILog
FatalFormat(String, Object, Object, 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.

The string is formatted using the InvariantCulture format provider. To specify a localized provider use the [M:FatalFormat(IFormatProvider,string,object[])] method.

This method does not take an Exception object to include in the log event. To pass an Exception use one of the [M:Fatal(object)] methods instead.

See Also

#### Reference

LogImpl Class
FatalFormat Overload
log4net.Core Namespace