Common Logging 2.0 API Reference

ConsoleOutLogger.WriteInternal Method

Do the actual logging by constructing the log message using a StringBuilder then sending the output to Out.

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

Parameters

level
The LogLevel of the message.
message
The log message.
e
An optional Exception associated with the message.

See Also

ConsoleOutLogger Class | Common.Logging.Simple Namespace