Decide which chip lines are shown. The filter never hides a line from panic, coredump, gdbstub, SHA-256, or expect; callers apply it only when printing.

Constructors

Properties

Methods

Constructors

Properties

limits: Map<string, number> = ...

Methods

  • Whether a line should be written to the terminal. A non-log line is shown only when * is above N. An unknown tag uses *, which defaults to N when the filter listed tags and did not mention *.

    Parameters

    • line: string

      Chip line without its trailing newline.

    Returns boolean

    True when the line is visible.