Class ConsoleAppender

ConsoleAppender class

Represents an appender for console output.

public class ConsoleAppender : Appender

Constructors

NameDescription
ConsoleAppender()Initializes a new instance of the ConsoleAppender class.

Properties

NameDescription
Formatter { get; set; }Gets or sets the formatter.

Methods

NameDescription
override Append(LogEntry)Appends the specified log entry to the appender.
virtual AppendHeader()Starts log file with specific header.
virtual Close()Closes the appender.
Dispose()Releases the unmanaged resources used by the Appender.
virtual Initialize()Initializes the appender instance.

See Also