Empty Global Context - GitAtSmsPortal/Metrics.NET GitHub Wiki

This feature when enabled allows for the Global Context to be set to string.Empty.

To enable this feature specify the following when accessing the config for Metrics.Net instead of using the code that follows after.

Metric.EmptyGlobalContextConfig()

The default behavior for Metrics.Net is still accessible through accessing the config as such

Metric.Config

This feature allows for a simple way of sharing context across multiple applications without extra configuration needed.