Skip to content

GizmoDevelopment/logger

Repository files navigation

import logger from "@gizmo-dev/logger";

logger.info("This is an 'info' log");
logger.success("This is a 'success' log");
logger.warn("This is a 'warning' log");
logger.error("This is an 'error' log");

logger.error(new Error("This is an error object"));

logger.info("This is an array", [ 1, 2, 3 ]);

Example output:

Example output screenshot