Open sandboxFocus

Class TraceLoggingBackend

Logging back-end that logs using Trace.

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

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.