@vhidvz/wfjs
    Preparing search index...

    Function logger

    • It returns an object with three functions, each of which logs a message with a different color

      Parameters

      • namespace: string

        This is the namespace of the logger.

      • Optionalprefix: string = 'workflow-js'

        This is the prefix that will be used for the debug module.

      Returns {
          debug: (formatter: string, ...args: unknown[]) => void;
          error: (formatter: string, ...args: unknown[]) => void;
          hit: (formatter: string, ...args: unknown[]) => void;
          info: (formatter: string, ...args: unknown[]) => void;
          miss: (formatter: string, ...args: unknown[]) => void;
          warn: (formatter: string, ...args: unknown[]) => void;
      }

      An object with three functions.