Logs a formatted message string with the INFO level.
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
public virtual void InfoFormat( IFormatProvider provider, string format, params Object[] args )
Parameters
- provider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information - format
- Type: SystemString
A String containing zero or more format items - args
- Type: SystemObject
An Object array containing zero or more objects to format
Implements
ILogInfoFormat(IFormatProvider, 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.
This method does not take an Exception object to include in the log event. To pass an Exception use one of the [M:Info(object)] methods instead.
See Also