EventSourceLoggingBackend(PostSharpEventSource)
Initializes a new instance of the EventSourceLoggingBackend class and specifies a custom PostSharpEventSource.
Declaration
public EventSourceLoggingBackend(PostSharpEventSource eventSource)Parameters
| Type | Name | Description |
|---|---|---|
| PostSharpEventSource | eventSource | The EventSource to which events will be written. |
EventSourceLoggingBackend()
Initializes a new instance of the EventSourceLoggingBackend class with the default event source.
Declaration
public EventSourceLoggingBackend()