Documentation
    Preparing search index...

    Function logged

    • Logger decorator factory for class methods. Will try, catch and log errors during method calls. If logger is bypassed, will use given logger, otherwise will try to use logger defined on class dynamically or statically or will fallback to console.

      Parameters

      Returns (
          target: any,
          methodName: string | symbol,
          descriptor: TypedPropertyDescriptor<(...args: any[]) => any>,
      ) => void

      • decorator function