PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​FormattersSynthetic­Id­Formatter
Open sandboxFocus

SyntheticIdFormatter Class

An abstract class whose implementations generate the value of the SyntheticId property.

Inheritance
SyntheticIdFormatter
Namespace: PostSharp.Patterns.Diagnostics.Formatters
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public abstract class SyntheticIdFormatter : Object

Constructors

Name Description
SyntheticIdFormatter()

Methods

Name Description
GenerateChildContextId(LoggingContext)

Generates a new synthetic id for a child of a given context. This context id can then be assigned to SyntheticRootId.

WriteContextId(UnsafeStringBuilder, LoggingContext)

Generates the value of the SyntheticId property of a LoggingContext.

WriteRecordId(UnsafeStringBuilder, LoggingContext)

Generates the value of the SyntheticId property of a LogRecordBuilder.