Search
Preparing search index...
The search index is not available
@appsweet-co/debug
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@appsweet-co/debug
Index
Interfaces
Debug
Opts
Type aliases
Debug
Type
Variables
defaults
Functions
Debug
deactivate
format
Type aliases
Debug
Type
Debug
Type
:
"all"
|
"log"
|
"warn"
|
"error"
Variables
Const
defaults
defaults
:
DebugOpts
= ...
Functions
Const
Debug
Debug
(
opts
:
DebugOpts
)
:
{
error
:
<T>
(
...
context
:
T
[]
)
=>
void
;
log
:
<T>
(
...
context
:
T
[]
)
=>
void
;
warn
:
<T>
(
...
context
:
T
[]
)
=>
void
}
Parameters
opts:
DebugOpts
Returns
{
error
:
<T>
(
...
context
:
T
[]
)
=>
void
;
log
:
<T>
(
...
context
:
T
[]
)
=>
void
;
warn
:
<T>
(
...
context
:
T
[]
)
=>
void
}
error
:
<T>
(
...
context
:
T
[]
)
=>
void
<T>
(
...
context
:
T
[]
)
:
void
Type parameters
T
:
string
Parameters
Rest
...
context:
T
[]
Returns
void
log
:
<T>
(
...
context
:
T
[]
)
=>
void
<T>
(
...
context
:
T
[]
)
:
void
Type parameters
T
:
string
Parameters
Rest
...
context:
T
[]
Returns
void
warn
:
<T>
(
...
context
:
T
[]
)
=>
void
<T>
(
...
context
:
T
[]
)
:
void
Type parameters
T
:
string
Parameters
Rest
...
context:
T
[]
Returns
void
Const
deactivate
deactivate
(
list
:
DebugType
[]
)
:
(
kind
:
DebugType
)
=>
boolean
Parameters
list:
DebugType
[]
Returns
(
kind
:
DebugType
)
=>
boolean
(
kind
:
DebugType
)
:
boolean
Parameters
kind:
DebugType
Returns
boolean
Const
format
format
(
prefix
:
string
)
:
(
meta
:
string
)
=>
<T>
(
msgs
:
T
[]
)
=>
string
[]
Parameters
prefix:
string
Returns
(
meta
:
string
)
=>
<T>
(
msgs
:
T
[]
)
=>
string
[]
(
meta
:
string
)
:
<T>
(
msgs
:
T
[]
)
=>
string
[]
Parameters
meta:
string
Returns <T>
(
msgs
:
T
[]
)
=>
string
[]
<T>
(
msgs
:
T
[]
)
:
string
[]
Type parameters
T
:
string
Parameters
msgs:
T
[]
Returns
string
[]
Exports
Debug
Opts
Debug
Type
defaults
Debug
deactivate
format
Generated using
TypeDoc