Class NullAppender

NullAppender class

Represents a do-nothing appender.

public sealed class NullAppender : Appender

Constructors

NameDescription
NullAppender()Creates a new instace of NullAppender.

Properties

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

Methods

NameDescription
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