Skip to main content

Class: DebugService

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new DebugService()

Properties

_isEnabled

Private _isEnabled: boolean = false


_prefix

Private _prefix: string = "🛠️ ANVIL ~"

Accessors

isEnabled

get isEnabled(): boolean

Returns

boolean

Methods

disable

disable(): void

Returns

void


enable

enable(): void

Returns

void


log

log(...args): void

Parameters

NameType
...argsstring[]

Returns

void


setPrefix

setPrefix(prefix): void

Parameters

NameType
prefixstring

Returns

void