Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 23613d8

Browse files
committed
change log util
1 parent 13c6d92 commit 23613d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/log.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class Log {
3333
}
3434

3535
error(...args) {
36-
this._isEnable && this._level > -1 && console.log(this._name, 'error:', ...args)
36+
this._isEnable && this._level > -1 && console.warn(this._name, 'error:', ...args)
3737
}
3838

3939
}

0 commit comments

Comments
 (0)