PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Formatters Namespace / Synthetic­Id­Formatter Class / Synthetic­Id­Formatter Methods

SyntheticIdFormatter Methods

The SyntheticIdFormatter type exposes the following members.

Methods
  NameDescription
Public methodGenerateChildContextId
Generates a new synthetic id for a child of a given context. This context id can then be assigned to SyntheticRootId.
Public methodWriteContextId
Generates the value of the SyntheticId property of a LoggingContext.
Public methodWriteRecordId
Generates the value of the SyntheticId property of a LogRecordBuilder.
See Also