A registry for creating named Loggers.

Implements

Constructors

Methods

  • Returns a Logger, creating one if one with the given name, version, and schemaUrl pair is not already created.

    Parameters

    • name: string

      The name of the logger or instrumentation library.

    • Optionalversion: string

      The version of the logger or instrumentation library.

    • Optionaloptions: LoggerOptions

      The options of the logger or instrumentation library.

    Returns Logger

    Logger A Logger with the given name and version