PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Configuration­Manager Class

LoggingConfigurationManager Class

Configures a LoggingBackend from an XML file.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LoggingConfigurationManager

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public static class LoggingConfigurationManager

The LoggingConfigurationManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberConfigureFromXml(LoggingBackend, XDocument, Boolean)
Configures a LoggingBackend from an XDocument.
Public methodStatic memberConfigureFromXml(LoggingBackend, XElement, Boolean)
Configures a LoggingBackend from an XElement.
Public methodStatic memberConfigureFromXmlAsync
Configures a LoggingBackend from an XML configuration file whose location is specified in a Uri.
Public methodStatic memberConfigureFromXmlWithAutoReloadAsync
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.
Public methodStatic memberResetConfiguration
Removes the TransactionPolicySelector and resets the DefaultVerbosity of a given LoggingBackend.
Public methodStatic memberStopAutoReloadConfigurationAsync
Stops all auto-refresh configuration set up by ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken) and waits until all pending operations have completed.
See Also