diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/logger.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/logger.ts b/src/utils/logger.ts index 24cd2c8..88ebb43 100644 --- a/src/utils/logger.ts +++ b/src/utils/logger.ts @@ -29,7 +29,7 @@ export default class Logger { return ["%c %c %s ", "", `background: ${color}; color: black; font-weight: bold; border-radius: 5px;`, title]; } - constructor(public name: string, public color: string) { } + constructor(public name: string, public color: string = "white") { } private _log(level: "log" | "error" | "warn" | "info" | "debug", levelColor: string, args: any[], customFmt = "") { console[level]( |