Docs
GitHub
Preparing search index...
The search index is not available
@foxxmd/logging Docs
@foxxmd/logging Docs
index
<internal>
CustomLevelLogger
Type Alias CustomLevelLogger<CustomLevels, UseOnlyCustomLevels>
Custom
Level
Logger
<
CustomLevels
,
UseOnlyCustomLevels
>
:
{
customLevels
:
{
[
level
in
CustomLevels
]
:
number
}
;
useOnlyCustomLevels
:
UseOnlyCustomLevels
;
}
&
{
[
K
in
Exclude
<
Level
,
CustomLevels
>
]
:
UseOnlyCustomLevels
extends
true
?
never
:
LogFn
}
&
{
[
level
in
CustomLevels
]
:
LogFn
}
Type Parameters
CustomLevels
extends
string
UseOnlyCustomLevels
extends
boolean
=
boolean
Type declaration
custom
Levels
:
{
[
level
in
CustomLevels
]
:
number
}
Define additional logging levels.
use
Only
Custom
Levels
:
UseOnlyCustomLevels
Use only defined
customLevels
and omit Pino's levels.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
GitHub
@foxxmd/logging Docs
Loading...
Define additional logging levels.