PR CheckMate API - v3.0.2
    Preparing search index...

    Class Logger

    Index
    • Apply options; unset fields keep their current value.

      Parameters

      • options: LoggerOptions

      Returns void

    • Parameters

      • msg: string
      • Optionalerr: unknown

      Returns void

    • Product output: the run summary, printed verbatim.

      Distinct from info because the summary is the thing the run exists to produce, not a note about producing it. Routing it through the log formatter prefixed every line with a timestamp and a level, which pushed the box borders out of alignment and made the headline artefact look broken.

      Parameters

      • msg: string

      Returns void

    • Redirect output, returning the previous sink so the caller can restore it. Passing null restores the real streams.

      Parameters

      • sink: LogSink | null

      Returns LogSink | null