Repository navigation
First Release
Added
- Initial release of the
Loggerclass. - Added
terminalColorsobject for terminal text styling. - Implemented
Loggerclass with the following methods:set(config: { debug?: boolean, appName?: string, useTimestamps?: boolean, colors?: { timestamp?: keyof typeof terminalColors.textColors, appName?: keyof typeof terminalColors.textColors, message?: keyof typeof terminalColors.textColors, levels?: { info?: keyof typeof terminalColors.textColors, warn?: keyof typeof terminalColors.textColors, error?: keyof typeof terminalColors.textColors, debug?: keyof typeof terminalColors.textColors } } }): void- Configure the logger settings.info(message: string | object): void- Log an info message to the console.warn(message: string | object): void- Log a warning to the console.error(message: string | object): void- Log an error to the console.debug(message: string | object): void- Log a debug message to the console (only ifdebugModeis enabled).
Full Changelog: https://github.com/Abadima/Logena/commits/v1.0.0