Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Debugger

Package version

A log function that can be dynamically enabled and redirected.

Hierarchy

  • Debugger

Callable

  • __call(...args: any[]): void
  • Logs the given arguments to the log method.

    Parameters

    • Rest ...args: any[]

    Returns void

Index

Properties

destroy

destroy: function

Used to cleanup/remove this logger.

Type declaration

    • (): boolean
    • Returns boolean

enabled

enabled: boolean

True if this logger is active and logging.

extend

extend: function

Extends this logger with a child namespace. Namespaces are separated with a ':' character.

Type declaration

log

log: function

The current log method. Can be overridden to redirect output.

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

namespace

namespace: string

The namespace of this logger.

Generated using TypeDoc