This commit is contained in:
Laurenz Rausche 2024-04-30 23:35:38 +00:00
parent 621794661b
commit da95741b8f

View File

@ -6,7 +6,10 @@ DefaultLogger.log("warn", `"warn" log with DefaultLogger`);
DefaultLogger.log("error", `"error" log with DefaultLogger`);
//set config after creation
DefaultLogger.setConfig({ disableColor: true, formatString: "Color disabled: [%l] %d %m" });
DefaultLogger.setConfig({
disableColor: true,
formatString: "Color disabled: [%l] %d %m",
});
//log shorthands
DefaultLogger.debug(`"debug" log with DefaultLogger and updated config`);