Logger configuration module for the API.
Uses Winston to log messages to both console and file.
- Description:
- Logger configuration module for the API. Uses Winston to log messages to both console and file.
- Source:
Members
(static, constant) logger :winston.Logger
- Description:
- Logger configured with two transports: - Console: 'http' level, simple format. - File: 'error' level, JSON format with timestamp.
- Source:
Logger configured with two transports:
- Console: 'http' level, simple format.
- File: 'error' level, JSON format with timestamp.
Type:
- winston.Logger