The Logger type exposes the following members.

Properties

  NameDescription
Public propertyStatic memberCurrentLevel
Set all loggers to this level
Public propertyDebugEnabled
Is debug logging enabled?
Public propertyErrorEnabled
Is error logging enabled?
Public propertyInfoEnabled
Is info logging enabled for the supplied level?
Public propertyStatic memberLogToConsole
If this property is true then logs will be written to the console.
Public propertyStatic memberLogToTrace
If this property is true then logs will be written using Trace.
Public propertyStatic memberPrimaryLogFile
The primary log file is simply the first file appender that has been added to the logger.
Public propertyStatic memberShowClassNames
If true then class-names will be shown in log.
Public propertyStatic memberShowTimestamp
If true then timestamps will be shown in log.

See Also