Class: Debug
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Debug(name
): Debug
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
leafer/packages/debug/src/Debug.ts:20
Properties
enable
▪ Static
enable: boolean
Defined in
leafer/packages/debug/src/Debug.ts:5
filterList
▪ Static
filterList: string
[] = []
Defined in
leafer/packages/debug/src/Debug.ts:7
excludeList
▪ Static
excludeList: string
[] = []
Defined in
leafer/packages/debug/src/Debug.ts:8
showWarn
▪ Static
showWarn: boolean
= true
Defined in
leafer/packages/debug/src/Debug.ts:11
showRepaint
▪ Static
showRepaint: boolean
Defined in
leafer/packages/debug/src/Debug.ts:12
showHitView
▪ Static
showHitView: string
| boolean
| string
[]
Defined in
leafer/packages/debug/src/Debug.ts:13
showBoundsView
▪ Static
showBoundsView: string
| boolean
| string
[]
Defined in
leafer/packages/debug/src/Debug.ts:14
name
• name: string
Defined in
leafer/packages/debug/src/Debug.ts:16
repeatMap
• repeatMap: IBooleanMap
= {}
Defined in
leafer/packages/debug/src/Debug.ts:18
Accessors
filter
• set
filter(name
): void
Parameters
Name | Type |
---|---|
name | string | string [] |
Returns
void
Defined in
leafer/packages/debug/src/Debug.ts:28
exclude
• set
exclude(name
): void
Parameters
Name | Type |
---|---|
name | string | string [] |
Returns
void
Defined in
leafer/packages/debug/src/Debug.ts:32
Methods
get
▸ get(name
): Debug
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
leafer/packages/debug/src/Debug.ts:24
log
▸ log(...messages
): void
Parameters
Name | Type |
---|---|
...messages | unknown [] |
Returns
void
Defined in
leafer/packages/debug/src/Debug.ts:37
tip
▸ tip(...messages
): void
Parameters
Name | Type |
---|---|
...messages | unknown [] |
Returns
void
Defined in
leafer/packages/debug/src/Debug.ts:45
warn
▸ warn(...messages
): void
Parameters
Name | Type |
---|---|
...messages | unknown [] |
Returns
void
Defined in
leafer/packages/debug/src/Debug.ts:49
repeat
▸ repeat(name
, ...messages
): void
Parameters
Name | Type |
---|---|
name | string |
...messages | unknown [] |
Returns
void
Defined in
leafer/packages/debug/src/Debug.ts:53
error
▸ error(...messages
): void
Parameters
Name | Type |
---|---|
...messages | unknown [] |
Returns
void