瀏覽代碼

change log util

Ben Hsieh 9 年之前
父節點
當前提交
23613d8ca6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/utils/log.js

+ 1
- 1
src/utils/log.js 查看文件

33
   }
33
   }
34
 
34
 
35
   error(...args) {
35
   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)
37
   }
37
   }
38
 
38
 
39
 }
39
 }