@nebius/js-sdk - v0.2.54
    Preparing search index...

    Function resolveLogger

    • Converts a logger specification to a Logger.

      A Handler is wrapped in a new logger chain. An existing Logger is returned unchanged, so defaultName and opts do not affect it.

      A supported level name or exact Level value creates a default handler at that level. An unsupported value falls back to opts, the environment, or Level.INFO. An absent value creates a default handler from opts and the environment.

      A dotted defaultName creates the same hierarchy as repeated Logger.child calls.

      Parameters

      Returns Logger