Skip to main content

Debugger

Hierarchy

  • IDebugger
    • Debugger

Callable

  • Debugger(message: string, ...params: unknown[]): void
  • Debugger(formatter: any, ...args: any[]): void

  • Log a message to the console and interpolate with the parameters.

Index

Properties

disable

disable: () => void

Disable all debugger messages from logging to the console.

enable

enable: () => void

Enable all debugger messages to log the console.

invariant

invariant: (condition: boolean, message: string, pass: string, fail: string) => void

Log a pass or fail message based on a conditional.

verbose

verbose: (message: string, ...params: unknown[]) => void

Log verbose messages that only appear when the BOOSTJS_DEBUG_VERBOSE is set.