Available logging levels in ascending order of severity: DEBUG → INFO → WARN → ERROR
const logger = new Logger('App');logger.debug('This is a debug message'); Copy
const logger = new Logger('App');logger.debug('This is a debug message');
Detailed information for debugging purposes
General information about program execution
Potentially harmful situations that don't affect program execution
Error conditions that affect program execution
Available logging levels in ascending order of severity: DEBUG → INFO → WARN → ERROR
Example