style (backend): match log colors
This commit is contained in:
parent
fe685c36b9
commit
9c7c00482e
1 changed files with 6 additions and 6 deletions
|
@ -101,16 +101,16 @@ export default class Logger {
|
|||
const l =
|
||||
level === "error"
|
||||
? important
|
||||
? chalk.bgRed.white("ERR ")
|
||||
: chalk.red("ERR ")
|
||||
? chalk.bgRed.white("ERROR")
|
||||
: chalk.red("ERROR")
|
||||
: level === "warning"
|
||||
? chalk.yellow("WARN")
|
||||
? chalk.yellow(" WARN")
|
||||
: level === "info"
|
||||
? chalk.cyan("INFO")
|
||||
? chalk.green(" INFO")
|
||||
: level === "debug"
|
||||
? chalk.green("DEBUG")
|
||||
? chalk.blue("DEBUG")
|
||||
: level === "trace"
|
||||
? chalk.gray("TRACE")
|
||||
? chalk.magenta("TRACE")
|
||||
: null;
|
||||
const domains = [this.domain]
|
||||
.concat(subDomains)
|
||||
|
|
Loading…
Reference in a new issue