LoggingConfiguration Members
Include Protected Members
Include Inherited Members
The LoggingConfiguration type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LoggingConfiguration |
Initializes a new instance of the LoggingConfiguration class.
|
Methods
Name | Description | |
---|---|---|
AddLogSource(String) |
Adds a new log source with the specified name.
|
|
AddLogSource(String, SourceLevels) |
Adds a new log source with the specified name and level.
|
|
AddLogSource(String, array<TraceListener[]) |
Adds a new log source with the specified name and trace listeners.
|
|
AddLogSource(String, SourceLevels, Boolean) |
Adds a new log source with the specified name and level, and optionally enables auto-flush.
|
|
AddLogSource(String, SourceLevels, Boolean, array<TraceListener[]) |
Adds a new log source with the specified name, level, and trace listeners, and optionally enables auto-flush.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllTraceListeners |
Gets a collection of all the TraceListener objects used in this configuration.
|
|
DefaultSource |
Gets or sets the default source name.
|
|
Filters |
Gets the list of all available ILogFilter objects.
|
|
IsLoggingEnabled |
Gets or sets a value that indicates whether logging is enabled.
|
|
IsTracingEnabled |
Gets or sets a value that indicates whether tracing is enabled.
|
|
LogSources |
Gets the collection of all available LogSource objects.
|
|
LogWarningsWhenNoCategoriesMatch |
Gets or sets a value that indicates whether to log warnings when no matching categories are found.
|
|
SpecialSources |
Gets the configuration for special sources.
|
|
UseImpersonation |
Gets or sets a value indicating whether to use impersonation.
|