Skip to main content

Context Property​

Gets the caller-supplied context information associated with the event.

Definition​

Namespace: GHost.Core.Logging
Type: LogEvent
Assembly: GHost.Core.dll

public ILogContext Context { get; }

Property Value​

ILogContext
Caller-supplied context information that describes the environment or operation in which the log entry was produced.

Remarks​

Use Context to attach additional structured information (such as tenant, correlation identifiers, or entity keys) to the log event.

See Also​