Function InjectLogger

  • Initializes a Logger with a specified prefix message

    Parameters

    • Optional scope: string

      {string}

    Returns ((_value, _context) => (() => Logger<never>))

      • (_value, _context): (() => Logger<never>)
      • Parameters

        • _value: any
        • _context: ClassFieldDecoratorContext<unknown, unknown>

        Returns (() => Logger<never>)

    Decorator