Browse Source

change log util

Ben Hsieh 8 years ago
parent
commit
23613d8ca6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/utils/log.js

+ 1
- 1
src/utils/log.js View File

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
 }