Open sandboxFocus

Class PostSharpEventSource

Inheritance
PostSharpEventSource
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.EventSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
[EventSource(Name = "PostSharp-Patterns-Diagnostics")]
[Guid("2c1bb382-ddd6-4f97-859c-7c21d3c726a4")]
public class PostSharpEventSource : EventSource, IDisposable

Constructors

Name Description
PostSharpEventSource()

Initializes a new PostSharpEventSource.

Methods

Name Description
IsEnabled(EventLevel)

Checks whether logging for the given level is enabled.

Log(LogLevel, LogRecordKind, string, string, UnsafeString, UnsafeString, int)

Emits a log record.