LogImpl WarnFormat Method (String,  Object )Apache log4net™ SDK Documentation
Logs a formatted message string with the WARN level.

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

public virtual void WarnFormat(
	string format,
	params Object[] args
)

Parameters

format
Type: OnlineSystem String
A String containing zero or more format items
args
Type:  OnlineSystem Object 
An Object array containing zero or more objects to format

Implements

ILog WarnFormat(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.

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

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

See Also