Debugger interface

Properties

destroy

Used to cleanup/remove this logger.

enabled

True if this logger is active and logging.

extend

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

log

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

namespace

The namespace of this logger.

Property Details

destroy

Used to cleanup/remove this logger.

destroy: () => boolean

Property Value

() => boolean

enabled

True if this logger is active and logging.

enabled: boolean

Property Value

boolean

extend

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

extend: (namespace: string) => Debugger

Property Value

(namespace: string) => Debugger

log

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

log: (args: any[]) => void

Property Value

(args: any[]) => void

namespace

The namespace of this logger.

namespace: string

Property Value

string