PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Event­Source Namespace/Post­Sharp­Event­Source Class

PostSharpEventSource Class

Inheritance Hierarchy
System.Object
  System.Diagnostics.Tracing.EventSource
    PostSharp.Patterns.Diagnostics.Backends.EventSource.PostSharpEventSource

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

The PostSharpEventSource type exposes the following members.

Constructors
  NameDescription
Public methodPostSharpEventSource
Initializes a new PostSharpEventSource.
Methods
  NameDescription
Public methodIsEnabled
Checks whether logging for the given level is enabled.
Public methodLog
Emits a log record.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also