Skip to content

Commit

Permalink
Merge pull request #477 from Zack921/master
Browse files Browse the repository at this point in the history
fix(logger): log from console.debug don't show in inspect window
  • Loading branch information
Zack921 authored Jun 21, 2021
2 parents b2de684 + 4b5d89e commit 9386d24
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 9386d24

Please sign in to comment.