Logging back-end that logs using Trace.
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.Trace
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
public class TraceLoggingBackend : TextLoggingBackend, IDisposableConstructors
| 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. |