NullAppender

NullAppender class

Represents a do-nothing appender.

public sealed class NullAppender : Appender

Constructors

Name Description
NullAppender() Creates a new instace of NullAppender.

Properties

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

Methods

Name Description
override Append(LogEntry) Appends a log entry to NullAppender.
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