Const
Global logger instance
Pre-configured logger instance ready for use throughout the application. Respects the LOG_LEVEL environment variable for filtering messages.
import { logger } from './utils/logger.js';logger.info('Application starting');logger.error('Something went wrong', error); Copy
import { logger } from './utils/logger.js';logger.info('Application starting');logger.error('Something went wrong', error);
Global logger instance
Pre-configured logger instance ready for use throughout the application. Respects the LOG_LEVEL environment variable for filtering messages.