Available logging levels in ascending order of severity:
DEBUG → INFO → WARN → ERROR
Example
constlogger=newLogger('App'); logger.debug('This is a debug message');
Source
exportenumLogLevel { /** Detailed information for debugging purposes */ DEBUG='debug', /** General information about program execution */ INFO='info', /** Potentially harmful situations that don't affect program execution */ WARN='warn', /** Error conditions that affect program execution */ ERROR='error', }
Available logging levels in ascending order of severity: DEBUG → INFO → WARN → ERROR
Example
Source