Skip to main content

DEBUG_CONSTANTS

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/config/constants / DEBUG_CONSTANTS

Variable: DEBUG_CONSTANTS

const DEBUG_CONSTANTS: { ENABLED: boolean; LOG_LEVELS: { DEBUG: string; ERROR: string; INFO: string; WARN: string; }; CATEGORIES: { CHARTS: string; DATA: string; FILES: string; STATE: string; UI: string; }; }

Defined in: utils/config/constants.js:317

Development and debugging constants

Type Declaration​

ENABLED​

ENABLED: boolean = false

Debug modes

LOG_LEVELS​

LOG_LEVELS: { DEBUG: string; ERROR: string; INFO: string; WARN: string; }

LOG_LEVELS.DEBUG​

DEBUG: string = "debug"

LOG_LEVELS.ERROR​

ERROR: string = "error"

LOG_LEVELS.INFO​

INFO: string = "info"

LOG_LEVELS.WARN​

WARN: string = "warn"

CATEGORIES​

CATEGORIES: { CHARTS: string; DATA: string; FILES: string; STATE: string; UI: string; }

Debug categories

CATEGORIES.CHARTS​

CHARTS: string = "charts"

CATEGORIES.DATA​

DATA: string = "data"

CATEGORIES.FILES​

FILES: string = "files"

CATEGORIES.STATE​

STATE: string = "state"

CATEGORIES.UI​

UI: string = "ui"