Commit ce77c71c by 李伟康

commit 还原更改

1 parent 611330e1
......@@ -4,20 +4,20 @@ import { getTime, withinSpliter, daysBetween } from './util'
class LocalLog {
logger = null
constructor() {
// this.logger = new LogCat()
this.logger = { }
this.logger = new LogCat()
// this.logger = { }
}
debug(msg) {
// this.logger.writeLog(LogLevel.DEBUG, msg)
this.logger.writeLog(LogLevel.DEBUG, msg)
}
info(msg) {
// this.logger.writeLog(LogLevel.INFO, msg)
this.logger.writeLog(LogLevel.INFO, msg)
}
warn(msg) {
// this.logger.writeLog(LogLevel.WARN, msg)
this.logger.writeLog(LogLevel.WARN, msg)
}
error(msg) {
// this.logger.writeLog(LogLevel.ERROR, msg)
this.logger.writeLog(LogLevel.ERROR, msg)
}
getFiles(beginDate, endDate) {
const logFiles = this.logger.getLogFileList()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!