The ConfigLogger type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ConfigLogger | ||
| ConfigLogger | Initializes a new instance of the ConfigLogger class |
Methods
| Name | Description | |
|---|---|---|
| AddLogger |
Add a Logger to this CompositeLogger.
(Inherited from CompositeLogger.) | |
| Configure | Overloaded. | |
| CreateLogEntry |
Create a LogEntry.
(Inherited from Logger.) | |
| DoLog |
Send the log message to contained Loggers.
(Inherited from CompositeLogger.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetDefaultFilter |
Create a new filter instance to use for this Logger.
Use the DefaultFilterClass property.
Subclasses may wish to override.
(Inherited from Logger.) | |
| GetDefaultFormatter |
Create a new formatter instance to use for this Logger.
Use the DefaultFormatterClass property.
Subclasses may wish to override.
(Inherited from Logger.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Log | Overloaded. | |
| LogCritical | Overloaded. | |
| LogDebug | Overloaded. | |
| LogError | Overloaded. | |
| LogFatal | Overloaded. | |
| LogInfo | Overloaded. | |
| LogStatus | Overloaded. | |
| LogWarning | Overloaded. | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnLoggingError |
A convenience method called by Logger instances
(Inherited from Logger.) | |
| RemoveLogger |
Remove a Logger
(Inherited from CompositeLogger.) | |
| ShouldLog |
Determine if aLogEntry should be logged
(Inherited from Logger.) | |
| ToString | (Inherited from Object.) | |
| WriteToLog |
Write a String to the log.
Subclasses can override this to actually write to the log.
(Inherited from Logger.) |
Fields
| Name | Description | |
|---|---|---|
| _application |
A String representing the application.
(Inherited from Logger.) | |
| _enabled |
A bool indicating if this Logger is enabled or not.
(Inherited from Logger.) | |
| _filter |
The filter through which all LogEntries must pass before being logged.
(Inherited from Logger.) | |
| _formatter |
A formatter that formats LogEntries before being logged.
(Inherited from Logger.) | |
| _loggers |
The Collection of Loggers.
(Inherited from CompositeLogger.) | |
| Instance |
The automatically created (via config file), application-wide accessible logger
|
Properties
| Name | Description | |
|---|---|---|
| Application |
Gets and sets the Application.
(Inherited from Logger.) | |
| Enabled |
Gets and sets the Enabled flag.
(Inherited from Logger.) | |
| Filter |
Gets and sets the Filter.
(Inherited from Logger.) | |
| Formatter |
Gets and sets the Formatter.
(Inherited from Logger.) | |
| Item |
Gets the Logger with the name corresponding to the given String.
(Inherited from CompositeLogger.) | |
| Loggers |
Gets and sets the Collection of Loggers.
(Inherited from CompositeLogger.) | |
| SeverityThreshold |
Gets and sets the severity threshold of the filter--the lowest severity which will be logged.
(Inherited from Logger.) |