Skip to content

LogManager

Jim Schaad edited this page Jul 6, 2017 · 1 revision

There is a built in logging system for events which occur while the system is running. This class provides the entry point to controlling how logging works and where logging is going to be directed. This class is not instanciated as all methods and properties are static.

If the Common.Logging.LogManager modules are installed, then the configuration that is setup there will be used to emit logging messages. If the modules are not installed, then the ConsoleLogManager is used by default.

Properties

Instance: Get/Set the logging manager which is going to be used.

Level: What level of logging is to be done. The values come from the LogLevel enumeration.

Methods

GetLogger: Return the logger to use for a name or type.

Clone this wiki locally