mirror of
https://github.com/lucaspalomodevelop/auth-tools.git
synced 2026-03-12 22:07:22 +00:00
format
This commit is contained in:
parent
621794661b
commit
da95741b8f
@ -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`);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user