Preparing search index...
The search index is not available
@eng-automation/js
@eng-automation/js
Logger
Class Logger
Index
Constructors
constructor
Properties
#secrets
To
Mask
debug
error
fatal
info
options
warn
Methods
add
Secrets
To
Mask
child
fmt
get
Fastify
Logger
log
logger
Callback
Constructors
constructor
new
Logger
(
options
)
:
Logger
Parameters
options
:
LoggerOptions
Returns
Logger
Properties
Private
#secrets
To
Mask
#secrets
To
Mask
:
string
[]
= []
debug
debug
:
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
= ...
Type declaration
<
T
>
(
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
error
error
:
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
= ...
Type declaration
<
T
>
(
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
fatal
fatal
:
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
= ...
Type declaration
<
T
>
(
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
info
info
:
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
= ...
Type declaration
<
T
>
(
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
options
options
:
LoggerOptions
warn
warn
:
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
= ...
Type declaration
<
T
>
(
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
Methods
add
Secrets
To
Mask
add
Secrets
To
Mask
(
...
secrets
)
:
void
Parameters
Rest
...
secrets
:
(
undefined
|
string
)
[]
Returns
void
child
child
(
context
)
:
Logger
Parameters
context
:
Record
<
string
,
unknown
>
Returns
Logger
fmt
fmt
(
item
)
:
string
Parameters
item
:
unknown
Returns
string
get
Fastify
Logger
get
Fastify
Logger
(
)
:
FastifyBaseLogger
Returns
FastifyBaseLogger
log
log
<
T
>
(
level
,
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
level
:
"debug"
|
"trace"
|
"info"
|
"warn"
|
"error"
|
"fatal"
|
"silent"
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
Private
logger
Callback
logger
Callback
(
level
)
:
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
Parameters
level
:
"debug"
|
"trace"
|
"info"
|
"warn"
|
"error"
|
"fatal"
|
"silent"
Returns
(
<
T
>
(
item
,
description
?
,
...
extra
)
=>
undefined
|
(
(
)
=>
void
)
)
<
T
>
(
item
,
description
?
,
...
extra
)
:
undefined
|
(
(
)
=>
void
)
Type Parameters
T
=
string
Parameters
item
:
unknown
Optional
description
:
T
Rest
...
extra
:
unknown
[]
Returns
undefined
|
(
(
)
=>
void
)
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#secrets
To
Mask
debug
error
fatal
info
options
warn
add
Secrets
To
Mask
child
fmt
get
Fastify
Logger
log
logger
Callback
@eng-automation/js
Loading...