Namespace: Rx.Net – Class: Logging – Assembly: Rx.Net

Logging Class

C#
class Logging

Logging class.

Static Properties

Logger

The logger object that is used to create log entries.

TraceEnabled

A value indicating whether the Trace level is enabled.

DebugEnabled

A value indicating whether the Debug level is enabled.

InfoEnabled

A value indicating whether the Info level is enabled.

UserEnabled

A value indicating whether the Info level is enabled.

WarnEnabled

A value indicating whether the Warn level is enabled.

ErrorEnabled

A value indicating whether the Error level is enabled.

Static Methods

Init(loggerType, logLevel, rootFolder, tcpLogPort)

Initializes the logger. If the logger is already created, another call to Init will not change it. Use this to specify the type of the logger to use, and to give the lowest LogLevel that will be logged. Initializes the unmanaged and the managed logger with similar settings.

Shutdown()

Flushes and closes all pending loggers.

Trace(message)