footprintjs - v11.2.0
Docs
Import map
GitHub
npm
Playground
Preparing search index...
footprintjs/advanced
DiagnosticCollector
Class DiagnosticCollector
Index
Constructors
constructor
Properties
error
Context
eval
Context
flow
Messages
log
Context
metric
Context
Methods
add
Error
add
Eval
add
Flow
Message
add
Log
add
Metric
set
Eval
set
Log
set
Metric
Constructors
constructor
new
DiagnosticCollector
(
readRule
?:
()
=>
RedactionRule
|
undefined
,
)
:
DiagnosticCollector
Read the current run policy, including policy swaps and resume.
Parameters
Optional
readRule
:
()
=>
RedactionRule
|
undefined
Returns
DiagnosticCollector
Properties
error
Context
errorContext
:
{
[
key
:
string
]:
any
}
= {}
eval
Context
evalContext
:
{
[
key
:
string
]:
any
}
= {}
flow
Messages
flowMessages
:
FlowMessage
[]
= []
log
Context
logContext
:
{
[
key
:
string
]:
any
}
= {}
metric
Context
metricContext
:
{
[
key
:
string
]:
any
}
= {}
Methods
add
Error
addError
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
add
Eval
addEval
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
add
Flow
Message
addFlowMessage
(
flowMessage
:
FlowMessage
)
:
void
Parameters
flowMessage
:
FlowMessage
Returns
void
add
Log
addLog
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
add
Metric
addMetric
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
set
Eval
setEval
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
set
Log
setLog
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
set
Metric
setMetric
(
key
:
string
,
value
:
any
,
path
?:
string
[]
)
:
void
Parameters
key
:
string
value
:
any
path
:
string
[]
= []
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
error
Context
eval
Context
flow
Messages
log
Context
metric
Context
Methods
add
Error
add
Eval
add
Flow
Message
add
Log
add
Metric
set
Eval
set
Log
set
Metric
Docs
Import map
GitHub
npm
Playground
footprintjs - v11.2.0
Loading...
Read the current run policy, including policy swaps and resume.