PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Configuration­Manager
Open sandboxFocus

LoggingConfigurationManager Class

Configures a LoggingBackend from an XML file.

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

Methods

Name Description
ConfigureFromXml(LoggingBackend, XDocument, Boolean)

Configures a LoggingBackend from an XDocument.

ConfigureFromXml(LoggingBackend, XElement, Boolean)

Configures a LoggingBackend from an System.Xml.Linq.XElement.

ConfigureFromXmlAsync(LoggingBackend, Uri, CancellationToken)

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

ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken)

Configures a LoggingBackend from an XML configuration file whose location is specified in a System.Uri and specifies a System.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.