Libraries
    Preparing search index...

    Function environmentEnricher

    • Enriches log events with the deployment environment name.

      Parameters

      • environment: string

        the environment name (e.g. 'production', 'staging')

      Returns Enricher

      an enricher that adds { Environment: '...' }