LogManager Class Members
The following tables list the members exposed by LogManager.
Public Constructors
Name | Description | |
---|---|---|
![]() |
LogManager Constructor |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
SyncRoot | Gets an object that can be used to synchronize access to LogManager. |
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
Instance | Gets the singleton instance of LogManager. |
![]() ![]() |
IsInitialized | Gets whether or not LogManager has been properly initialized. |
![]() ![]() |
LogConfigFilePath | Gets or sets the full path to the file LogManager should attempt to use to configure itself. |
Public Methods
Name | Description | |
---|---|---|
![]() ![]() |
AddAppenderToLogger | Overloaded. Links a given appender to the specified .NET type-identified logger. |
![]() ![]() |
AddAppenderToRoot | Adds an already-prepared appender to the root level (affecting all loggers). |
![]() ![]() |
AddLogFileAppender | Creates a new rolling log file appender and adds it to the configuration for use elsewhere. |
![]() ![]() |
FindFile | |
![]() ![]() |
GetLogger | Overloaded. Retrieves a logger for the given type name. |
![]() ![]() |
Initialize | Initializes the LogManager. |
![]() ![]() |
Reconfigure | |
![]() ![]() |
ResetConfiguration | Resets the log configuration and configuration file back to defaults (root level set to INFO with no appenders). |
![]() ![]() |
SetLoggerLevel | Overloaded. Changes a specific logger's (specified by type) logging level. |
![]() ![]() |
SetRootLoggerLevel | Changes the root's logging level (affecting all loggers) |
![]() ![]() |
SetThreadContextValue | Sets a context variable for this thread. |