refactor: fix bugs

This commit is contained in:
xiaojunnuo
2022-10-31 15:01:50 +08:00
parent 146ac49703
commit 6094a4af79
7 changed files with 41 additions and 16 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import log4js, { LoggingEvent } from "log4js";
const OutputAppender = {
configure: (config: any, layouts: any, findAppender: any, levels: any) => {
let layout = layouts.colouredLayout;
let layout = layouts.basicLayout;
if (config.layout) {
layout = layouts.layout(config.layout.type, config.layout);
}