PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Trace­SourceTrace­Source­Logging­Backend
Open sandboxFocus

TraceSourceLoggingBackend Class

Logging back-end that logs using PostSharp.Patterns.Diagnostics.Backends.TraceSource.

Inheritance
System.Object
TraceSourceLoggingBackend
Implements
IDisposable
Namespace: PostSharp.Patterns.Diagnostics.Backends.TraceSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
public class TraceSourceLoggingBackend : TextLoggingBackend

Constructors

Name Description
TraceSourceLoggingBackend()

Initializes a new TraceSourceLoggingBackend.

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.

CreateTypeSourceBySourceName(LoggingNamespaceSource, String)

Creates a LoggingTypeSource for the given role and logger name.

GetTextBackendOptions()

Gets the options.

GetTraceSource(String)

Gets a TraceSource of a given name.

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)