A simple (but colorful) logger for Deno.
Find me at Deno.X https://deno.land/x/dyelog. DyeLog is also available in JSR: https://jsr.io/@littlelite/dyelog.
import { DyeLog, LogLevel } from "@littlelite/dyelog";
const logger = new DyeLog({
timestamp: true,
printlevel: true,
level: LogLevel.TRACE
});
logger.trace("This is trace");
logger.info("This is info");
logger.warn("This is warn");
logger.debug("This is debug");
logger.error("This is error");