ILogExtensionsFatalFormatExt Method (ILog, String, Object, Object)Apache log4net™ SDK Documentation
Logs a formatted message string with the Fatal level.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 4.0

public static void FatalFormatExt(
	this ILog logger,
	string format,
	Object arg0,
	Object arg1


Type: log4netILog
The logger on which the message is logged.
Type: SystemString
A String containing zero or more format items
Type: SystemObject
An Object to format
Type: SystemObject
An Object to format

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILog. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

The message is formatted using the String.Format method. See Format(String, Object) 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 FatalExt(ILog, Object, Exception) methods instead.

See Also