NLog Logging Library

Logger.Log Method (LogLevel, IFormatProvider, Object)

[This is preliminary documentation and subject to change.]

Writes the diagnostic message at the specified level.

[Visual Basic]
Overloads Public Sub Log( _
   ByVal level As LogLevel, _
   ByVal formatProvider As IFormatProvider, _
   ByVal obj As Object _
)
[C#]
public void Log(
   LogLevel level,
   IFormatProvider formatProvider,
   object obj
);

Parameters

level
the log level.
formatProvider
An IFormatProvider that supplies culture-specific formatting information.
obj
A object to be written.

See Also

Logger Class | NLog Namespace | Logger.Log Overload List