PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Event­Source Namespace / Event­Source­Logging­Backend Class / Event­Source­Logging­Backend Constructor / Event­Source­Logging­Backend Constructor (Post­Sharp­Event­Source)

EventSourceLoggingBackend Constructor (PostSharpEventSource)

Initializes a new EventSourceLoggingBackend and specifies a custom PostSharpEventSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.EventSource
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Tracing (in PostSharp.Patterns.Diagnostics.Backends.Tracing.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public EventSourceLoggingBackend(
	PostSharpEventSource eventSource
)

Parameters

eventSource
Type: PostSharp.Patterns.Diagnostics.Backends.EventSource.PostSharpEventSource
The EventSource to which events will be written.
See Also