Open sandboxFocus

Class LoggingConfigurationManager

Configures a LoggingBackend from an XML file.

Inheritance
LoggingConfigurationManager
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.Configuration.dll
Syntax
public static class LoggingConfigurationManager

Methods

Name Description
ConfigureFromXml(LoggingBackend, XDocument, bool)

Configures a LoggingBackend from an XDocument.

ConfigureFromXml(LoggingBackend, XElement, bool)

Configures a LoggingBackend from an XElement.

ConfigureFromXmlAsync(LoggingBackend, Uri, CancellationToken)

Configures a LoggingBackend from an XML configuration file whose location is specified in a Uri.

ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken)

Configures a LoggingBackend from an XML configuration file whose location is specified in a Uri and specifies a TimeSpan at which the file should be refreshed from source.

ResetConfiguration(LoggingBackend)

Removes the TransactionPolicySelector and resets the DefaultVerbosity of a given LoggingBackend.

StopAutoReloadConfigurationAsync(LoggingBackend)

Stops all auto-refresh configuration set up by ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken) and waits until all pending operations have completed.