LogLevelConst Interface
Specify levels of the logs.
Signature
export interface LogLevelConst
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| default | readonly | 20 | Default LogLevel |
| error | readonly | 30 | To log errors. |
| essential | readonly | 30 | Essential information about the operation of Fluid. |
| info | readonly | 20 | Information about the session. |
| verbose | readonly | 10 | Chatty logs useful for debugging. |
Property Details
default
Default LogLevel
Signature
readonly default: 20;
Type: 20
Remarks
Prefer LogLevel.info when selecting a level explicitly since this will be deprecated and removed in a future release.
error
To log errors.
Signature
readonly error: 30;
Type: 30
Remarks
Prefer LogLevel.essential when selecting a level since this will be deprecated and removed in a future release.
essential
Essential information about the operation of Fluid.
Signature
readonly essential: 30;
Type: 30
Remarks
It is recommended that these should always be collected, even in production, for diagnostic purposes.
info
Information about the session.
Signature
readonly info: 20;
Type: 20
Remarks
These logs could be omitted in some sessions if needed (e.g. to reduce overall telemetry volume). If any are collected from a particular session, all should be.
verbose
Chatty logs useful for debugging.
Signature
readonly verbose: 10;
Type: 10
Remarks
They need not be collected in production.