Open sandboxFocus

Method WriteContextId

WriteContextId(UnsafeStringBuilder, LoggingContext)

Generates the value of the SyntheticId property of a LoggingContext.

Declaration
public abstract void WriteContextId(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.