-
Notifications
You must be signed in to change notification settings - Fork 20
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.
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.
GetLogger: Return the logger to use for a name or type.