log4net SDK Reference

ILog.FatalFormat Method (String, Object)

Logs a formatted message string with the Fatal level.

[Visual Basic]
Sub FatalFormat( _
   ByVal format As String, _
   ByVal arg0 As Object _
)
[C#]
void FatalFormat(
   string format,
   object arg0
);

Parameters

format
A String containing zero or more format items
arg0
An Object 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 Fatal methods instead.

See Also

ILog Interface | log4net Namespace | ILog.FatalFormat Overload List | Fatal | IsFatalEnabled