Common Logging 2.0 API Reference

NLogLogger.WriteInternal Method

Actually sends the message to the underlying log system.

[Visual Basic]
Protected Overrides Sub WriteInternal( _
   ByVal logLevel As LogLevel, _
   ByVal message As Object, _
   ByVal exception As Exception _
)
[C#]
protected override void WriteInternal(
   LogLevel logLevel,
   object message,
   Exception exception
);

Parameters

logLevel
the level of this log event.
message
the message to log
exception
the exception to log (may be null)

See Also

NLogLogger Class | Common.Logging.NLog Namespace