2025-04-24 17:03:28 +08:00

22 lines
355 B
TypeScript

import Report from "../net/Report";
export default class SKLogger {
static isDebug:boolean=true;
static warn(msg:any) {
cc.warn(msg);
Report.report(msg);
}
static info(msg:any){
cc.log(msg);
}
static debug(msg:any){
if(!this.isDebug){
return;
}
cc.log(msg);
}
}