StandardFormatter

StandardFormatter class

Represents the class for formatting log entry messsages.

public class StandardFormatter : Formatter

Constructors

Name Description
StandardFormatter() Initializes a new instance of the StandardFormatter class.
StandardFormatter(string) Initializes a new instance of the StandardFormatter class.
StandardFormatter(StringBuilder) Initializes a new instance of the StandardFormatter class.

Properties

Name Description
override Footer { get; } Gest the footer string.
override Header { get; } Gets the log header.
virtual LogHeader { get; } Gets or sets the log header

Methods

Name Description
virtual Format(DateTime) Formats a datetime and return a string to be outputted.
override Format(LogEntry) Formats a log entry and return a string to be outputted.

See Also