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

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static void InfoFormatExt(
	this ILog logger,
	string format,
	Object arg0
)

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 OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
Remarks

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

This method does not take an OnlineException object to include in the log event. To pass an OnlineException use one of the InfoExt(ILog, Object, Exception) methods instead.

See Also