halylog
v1.0.9
Published
Easy to use logger system made by Halyma
Downloads
1
Readme
HLogger - Easy to use logger for NodeJS
Easy to use logger made by Halyma
import { HLogger } from 'hlogger';
export const logger = new HLogger('./logs');
/* save the provided message into a file named 10-08-2022 (if it's 10/08/2022)
with the hour of log creation */
logger.success('logger is working');
Method list :
- success
- error
- warning