Skip to content

Commit

Permalink
fix(logger): log from console.debug don't show in inspect window
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack921 committed Jun 17, 2021
1 parent 0728153 commit 4b5d89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class Logger {
public debug(str: string): void {
if (this.isCleanLog) return;
if (!currentContext()) {
console.debug(Logger.formatStr(str, "DEBUG", {
console.log(Logger.formatStr(str, "DEBUG", {
levelLimit: this.logLevel
}));
} else {
Expand Down

0 comments on commit 4b5d89e

Please sign in to comment.