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
Name | Type |
---|---|
...args | string [] |
Returns
void
setPrefix
▸ setPrefix(prefix
): void
Parameters
Name | Type |
---|---|
prefix | string |
Returns
void