Class SimpleFormatter

SimpleFormatter class

Represents the default implementation of IFormatter interface.

public sealed class SimpleFormatter : Formatter

Constructors

NameDescription
SimpleFormatter()Creates a new SimpleFormatter instance.
SimpleFormatter(string, string)Creates a new SimpleFormatter instance.

Properties

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

Methods

NameDescription
override 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