PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​TraceTrace­Logging­Backend
Open sandboxFocus

TraceLoggingBackend Class

Logging back-end that logs using Trace.

Inheritance
TraceLoggingBackend
Implements
System.IDisposable
Namespace: PostSharp.Patterns.Diagnostics.Backends.Trace
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
public class TraceLoggingBackend : TextLoggingBackend

Constructors

Name Description
TraceLoggingBackend()

Initializes a new TraceLoggingBackend that logs into Trace (the static trace source).

TraceLoggingBackend(IEnumerable<TraceListener>, String)

Initializes a new TraceLoggingBackend that logs directly into the given trace listeners.

Properties

Name Description
Options

Gets the back-end options.

Methods

Name Description
CreateRecordBuilder()

Creates a new LogRecordBuilder.

CreateTypeSource(LoggingNamespaceSource, Type)

Creates a LoggingTypeSource for the given role and type.

GetTextBackendOptions()

Gets the options.

Extension Methods

LoggingConfigurationManager.ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken)
LoggingConfigurationManager.StopAutoReloadConfigurationAsync(LoggingBackend)
LoggingConfigurationManager.ConfigureFromXmlAsync(LoggingBackend, Uri, CancellationToken)
LoggingConfigurationManager.ConfigureFromXml(LoggingBackend, XDocument, Boolean)
LoggingConfigurationManager.ConfigureFromXml(LoggingBackend, XElement, Boolean)
LoggingConfigurationManager.ResetConfiguration(LoggingBackend)