SimpleFormatter

SimpleFormatter class

Represents the default implementation of IFormatter interface.

public sealed class SimpleFormatter : Formatter

Constructors

Name Description
SimpleFormatter() Creates a new SimpleFormatter instance.
SimpleFormatter(string, string) Creates a new SimpleFormatter instance.

Properties

Name Description
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

Name Description
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