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