Type alias Drainer

Drainer: ((this, target, atOnce?) => void)

Type declaration

    • (this, target, atOnce?): void
    • Log buffer drainer signature.

      Drains buffered messages to target log recorder. Can be used as implementation of ZLogBuffer#drainTo method.

      Parameters

      • this: void
      • target: ZLogRecorder | null | undefined
      • Optional atOnce: number

      Returns void

Generated using TypeDoc