FormattedMessageHandler

Description

abstract class Tinman.Core.Logging.FormattedMessageHandler

Derived from

LogMessageHandler abstract

Abstract base class for ILogMessageHandler implementations that use an ILogMessageFormat object for formatting log messages.

Public / Attributes

Format


public attribute Format → (get)

value : ILogMessageFormat

[not-null]
The log message format object.

The log message format.

Protected / Constructors

Formatted​Message​Handler


protected constructor FormattedMessageHandler → (1)

format in : ILogMessageFormat

[not-null]
The log message format to use.

Creates a new instance of FormattedMessageHandler.

Protected / Methods

Emit​Log​Message


protected abstract method EmitLogMessage → (2)

msg in : string

The formatted log message.

verbosity in : LogVerbosity

The log message verbosity.

Emits the given formatted log message.

Protected / Attributes

Columns


protected abstract attribute Columns → (get)

value : int32

[>0]
The text column count.

Returns the number of text columns to use for wrapping the log output.