Context

Contains a simple object that defines the context of execution. For various logging functions we need to know what source we are logging from – what is the processes name, what the process is/does.

Important information

  • This package is useful for various logging functions where it is necessary to know things like: what source we are logging from, what is the process name, or what the process is/does.

Interfaces

IContext

Interface to specify execution context.


Classes

Context

Basic implementation of an execution context.

ContextInfo

Context information component that provides detail information about execution context: container or/and process.

Most often ContextInfo is used by logging and performance counters to identify source of the collected logs and metrics.

ContextResolver

Context resolver that processes context and extracts values from there.

DefaultContextFactory

Creates information components by their descriptors.