21 lines
439 B
JavaScript
21 lines
439 B
JavaScript
|
|
import starCloudInstance from '../star-cloud'
|
||
|
|
|
||
|
|
export default {
|
||
|
|
debug() {
|
||
|
|
if (!starCloudInstance.isReportLog) return
|
||
|
|
console.log(arguments[0])
|
||
|
|
},
|
||
|
|
info() {
|
||
|
|
if (!starCloudInstance.isReportLog) return
|
||
|
|
console.log(arguments[0])
|
||
|
|
},
|
||
|
|
warn() {
|
||
|
|
if (!starCloudInstance.isReportLog) return
|
||
|
|
console.log(arguments[0])
|
||
|
|
},
|
||
|
|
error() {
|
||
|
|
if (!starCloudInstance.isReportLog) return
|
||
|
|
console.log(arguments[0])
|
||
|
|
}
|
||
|
|
}
|