@adviser/cement - v0.0.0
Preparing search index...
LevelHandlerImpl
Class LevelHandlerImpl
Implements
LevelHandler
Index
Constructors
constructor
Properties
_
global
Levels
_
modules
_
timer
ignore
Attr
is
Stack
Exposed
Methods
enable
Level
disable
Level
set
Expose
Stack
set
Ignore
Attr
for
Modules
set
Debug
is
Enabled
timer
Start
timer
End
Constructors
constructor
new
LevelHandlerImpl
()
:
LevelHandlerImpl
Returns
LevelHandlerImpl
Properties
Readonly
_
global
Levels
_globalLevels
:
Set
<
string
>
= ...
Readonly
_
modules
_modules
:
Map
<
string
,
Set
<
string
>
>
= ...
Readonly
_
timer
_timer
:
Map
<
string
,
Date
>
= ...
ignore
Attr
ignoreAttr
:
Option
<
RegExp
>
= ...
is
Stack
Exposed
isStackExposed
:
boolean
= false
Methods
enable
Level
enableLevel
(
level
:
string
,
...
modules
:
string
[]
)
:
void
Parameters
level
:
string
...
modules
:
string
[]
Returns
void
disable
Level
disableLevel
(
level
:
string
,
...
modules
:
string
[]
)
:
void
Parameters
level
:
string
...
modules
:
string
[]
Returns
void
set
Expose
Stack
setExposeStack
(
enable
?:
boolean
)
:
void
Parameters
Optional
enable
:
boolean
Returns
void
set
Ignore
Attr
setIgnoreAttr
(
re
?:
RegExp
)
:
void
Parameters
Optional
re
:
RegExp
Returns
void
for
Modules
forModules
(
level
:
string
,
fnAction
:
(
p
:
string
)
=>
void
,
...
modules
:
(
string
|
string
[]
)
[]
,
)
:
void
Parameters
level
:
string
fnAction
:
(
p
:
string
)
=>
void
...
modules
: (
string
|
string
[]
)
[]
Returns
void
set
Debug
setDebug
(
...
modules
:
(
string
|
string
[]
)
[]
)
:
void
Parameters
...
modules
: (
string
|
string
[]
)
[]
Returns
void
is
Enabled
isEnabled
(
ilevel
:
unknown
,
module
:
unknown
)
:
boolean
Parameters
ilevel
:
unknown
module
:
unknown
Returns
boolean
timer
Start
timerStart
(
key
:
string
)
:
Date
Parameters
key
:
string
Returns
Date
timer
End
timerEnd
(
key
:
string
)
:
{
now
:
Date
;
duration
:
number
}
Parameters
key
:
string
Returns
{
now
:
Date
;
duration
:
number
}
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
global
Levels
_
modules
_
timer
ignore
Attr
is
Stack
Exposed
Methods
enable
Level
disable
Level
set
Expose
Stack
set
Ignore
Attr
for
Modules
set
Debug
is
Enabled
timer
Start
timer
End
@adviser/cement - v0.0.0
Loading...