rename ccerr to ccerror
This commit is contained in:
parent
037a7c5948
commit
49fa78f5a6
@ -9,7 +9,7 @@ module.exports = typeof uniCloud === 'undefined' ? {
|
||||
ccinfo(...args) {
|
||||
console.info({timeiso: new Date().toJSON()}, ...args)
|
||||
},
|
||||
ccerr(...args) { // console.error will appear in pm2's error log
|
||||
ccerror(...args) { // console.error will appear in pm2's error log
|
||||
console.error({timeiso: new Date().toJSON()}, ...args)
|
||||
},
|
||||
ccwarn(...args) { // console.warn will appear in pm2's error log
|
||||
@ -27,7 +27,7 @@ module.exports = typeof uniCloud === 'undefined' ? {
|
||||
ccinfo(...args) {
|
||||
console.info(colors.green({timeiso: new Date().toJSON()}), ...args)
|
||||
},
|
||||
ccerr(...args) { // console.error will appear in pm2's error log
|
||||
ccerror(...args) { // console.error will appear in pm2's error log
|
||||
console.error(colors.red({timeiso: new Date().toJSON()}), ...args)
|
||||
},
|
||||
ccwarn(...args) { // console.warn will appear in pm2's error log
|
||||
|
Loading…
Reference in New Issue
Block a user