| LoggerLog Method (Type, LogEventInfo) |
Writes the specified diagnostic message.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public void Log(
Type wrapperType,
LogEventInfo logEvent
)
Public Sub Log (
wrapperType As Type,
logEvent As LogEventInfo
)
Dim instance As Logger
Dim wrapperType As Type
Dim logEvent As LogEventInfo
instance.Log(wrapperType, logEvent)
abstract Log :
wrapperType : Type *
logEvent : LogEventInfo -> unit
override Log :
wrapperType : Type *
logEvent : LogEventInfo -> unit
Parameters
- wrapperType
- Type: SystemType
Type of custom Logger wrapper. - logEvent
- Type: NLogLogEventInfo
Log event.
Implements
ILoggerBase.Log(Type, LogEventInfo)See Also