Skip to content

A simple logger with log rotation and colours for your projects

License

Notifications You must be signed in to change notification settings

DevelopmentCubed/logger

Repository files navigation

Logger

A simple logger for your projects

const { Logger, LEVEL } = require("@developmentcubed/logger");

const logger = Logger.createInstance();

logger.level = LEVEL.debug;

logger.debug("Hello yes this is a debug message");
logger.info("Hello yes this is a info message with", 3, "args");
logger.success("Spoopy it was a success");
logger.warning("Knock it off dude");
logger.error("Errors everywhere");
logger.notice("Notice me uwu");

What it looks like

About

A simple logger with log rotation and colours for your projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published