Class StandardFormatter

StandardFormatter class

Represents the class for formatting log entry messsages.

public class StandardFormatter : Formatter

Constructors

NameDescription
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

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

Methods

NameDescription
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