Skip to content

BaseAppenderMethods

@tsed/logger

Usage

typescript
import { BaseAppenderMethods } from "@tsed/logger";

See /packages/logger/src/types/common/appenders/class/BaseAppender.ts.

Overview

ts
interface BaseAppenderMethods {
    write(loggingEvent: LogEvent): any;
    build?(): any;
    reopen?(): any;
    shutdown?(): Promise<any> | any | void;
}

write

ts
write(loggingEvent: LogEvent): any;

build

ts
build?(): any;

reopen

ts
reopen?(): any;

shutdown

ts
shutdown?(): Promise<any> | any | void;

Released under the MIT License.