Commit 0863f895 by 李伟康

还原

1 parent 580cfe9d
...@@ -4,20 +4,19 @@ import { getTime, withinSpliter, daysBetween } from './util' ...@@ -4,20 +4,19 @@ import { getTime, withinSpliter, daysBetween } from './util'
class LocalLog { class LocalLog {
logger = null logger = null
constructor() { constructor() {
this.logger = {} this.logger = new LogCat()
// this.logger = new LogCat()
} }
debug(msg) { debug(msg) {
// this.logger.writeLog(LogLevel.DEBUG, msg) this.logger.writeLog(LogLevel.DEBUG, msg)
} }
info(msg) { info(msg) {
// this.logger.writeLog(LogLevel.INFO, msg) this.logger.writeLog(LogLevel.INFO, msg)
} }
warn(msg) { warn(msg) {
// this.logger.writeLog(LogLevel.WARN, msg) this.logger.writeLog(LogLevel.WARN, msg)
} }
error(msg) { error(msg) {
// this.logger.writeLog(LogLevel.ERROR, msg) this.logger.writeLog(LogLevel.ERROR, msg)
} }
getFiles(beginDate, endDate) { getFiles(beginDate, endDate) {
const logFiles = this.logger.getLogFileList() 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!