Enriching is a term used to denote adding external properties to log events after their construction. It allows to augment events with contextual information not available at immediate logging site.
Default implementations of source context and operation context involve enrichment of log events with special well-known properties.
By default, enrichment extensions do not overwrite properties already present in log events, although this behaviour can be configured.
Extensions listed in this section allow to enrich log events with values from FlowingContext exposed from Vostok.Context library:
Add the value of the property with given name from FlowingContext to incoming log events with specified log name (which may differ from property name in context):
Add the value of the global with following type from FlowingContext to incoming log events with specified name:
Add all current properties from FlowingContext to incoming log events: