Open sandboxFocus

Method WriteRecordId

WriteRecordId(UnsafeStringBuilder, LoggingContext)

Generates the value of the SyntheticId property of a LogRecordBuilder.

Declaration
public abstract void WriteRecordId(UnsafeStringBuilder stringBuilder, LoggingContext context)
Parameters
Type Name Description
UnsafeStringBuilder stringBuilder

The target UnsafeStringBuilder.

LoggingContext context

The context for which the synthetic id needs to be generated.