mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
feat: midway注解方式编写插件
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import log4js, { LoggingEvent } from "log4js";
|
||||
import log4js, { LoggingEvent, Logger } from "log4js";
|
||||
|
||||
const OutputAppender = {
|
||||
configure: (config: any, layouts: any, findAppender: any, levels: any) => {
|
||||
@@ -32,3 +32,4 @@ export function buildLogger(write: (text: string) => void) {
|
||||
});
|
||||
return logger;
|
||||
}
|
||||
export type LOGGER = Logger;
|
||||
|
||||
Reference in New Issue
Block a user