Logger

Logger class

Provides the logging functionality.

Constructors

NameDescription
Logger (2 overloads)

Methods

NameDescription
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
get_AppendersGets the appender list.
get_DebugGets the debug logger.
get_NameGets name.
get_SeverityGets severity.
IsEnabledDetermines if logging is enabled for the specified level.
set_AppendersSets the appender list.
set_SeveritySets severity.
Write (4 overloads)Writes the specified message to appenders.
WriteFormatWrites the message with specified format to appenders.
WriteIf (5 overloads)Writes the specified message to appenders if condition is true.
WriteLine (3 overloads)Writes the empty line to appenders.