Function logDefer

  • Creates a loggable value processed when the message is actually logged.

    The value will be expanded at out logging stage.

    Type Parameters

    Parameters

    • toLog: ((this, target) => unknown)

      Performs additional message processing before it is logged. It will be called by Loggable#toLog method implementation at appropriate logging stage.

        • (this, target): unknown
        • Parameters

          • this: void
          • target: TTarget

          Returns unknown

    Returns Loggable<TTarget>

    New loggable value.

Generated using TypeDoc