ConsoleAppender

ConsoleAppender class

Represents an appender for console output.

public class ConsoleAppender : Appender

Constructors

Name Description
ConsoleAppender() Initializes a new instance of the ConsoleAppender class.

Properties

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

Methods

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