NLog Logging Library

Logger.Log Method (Type, LogEventInfo)

[This is preliminary documentation and subject to change.]

Writes the specified diagnostic message.

[Visual Basic]
Overloads Public Sub Log( _
   ByVal wrapperType As Type, _
   ByVal logEvent As LogEventInfo _
)
[C#]
public void Log(
   Type wrapperType,
   LogEventInfo logEvent
);

Parameters

wrapperType
The name of the type that wraps Logger
logEvent
log event

See Also

Logger Class | NLog Namespace | Logger.Log Overload List