OpenTelemetry SDK
    Preparing search index...

    Type Alias LoggerConfiguratorExperimental

    LoggerConfigurator: (
        loggerScope: InstrumentationScope,
    ) => Required<LoggerConfig>

    A LoggerConfigurator is a function which computes the LoggerConfig for a Logger. It is called when a Logger is first created, and for each outstanding Logger when a LoggerProvider's LoggerConfigurator is updated (if updating is supported).

    The function must return the complete LoggerConfig for the given logger scope. All config properties should have their values computed and set to appropriate defaults.

    Type Declaration

      • (loggerScope: InstrumentationScope): Required<LoggerConfig>
      • Parameters

        • loggerScope: InstrumentationScope

          The InstrumentationScope of the Logger

        Returns Required<LoggerConfig>

        The computed LoggerConfig with all properties set This feature is in development as per the OpenTelemetry specification.