Library API
    Preparing search index...

    Function markConfig

    • Identifies and marks an object as a logging configuration object using a global symbol. This allows the library to securely differentiate configs from regular objects.

      Type Parameters

      • T extends object

      Parameters

      • obj: T

        The configuration object to mark

      Returns T

      The marked object

      const cfg = markConfig({ level: 'debug' });