PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Event­SourceEvent­Source­Log­Record­Builder
Open sandboxFocus

EventSourceLogRecordBuilder Class

Inheritance
System.Object
EventSourceLogRecordBuilder
Namespace: PostSharp.Patterns.Diagnostics.Backends.EventSource
Assembly: PostSharp.Patterns.Diagnostics.Backends.Tracing.dll
Syntax
public class EventSourceLogRecordBuilder : TextLogRecordBuilder, ICustomLogRecordBuilder

Constructors

Name Description
EventSourceLogRecordBuilder(EventSourceLoggingBackend)

Initializes a new EventSourceLogRecordBuilder/

Methods

Name Description
AppendProlog()

Appends the indent string, context description, and the record kind to the current StringBuilder.

EmitRecord()

Emits the record. Invoked by the Complete() method.

Write(UnsafeString)

Writes the final message to the back-end.