AppenderConfiguration
@tsed/logger
Usage
typescript
import { AppenderConfiguration } from "@tsed/logger";
See /packages/logger/src/types/common/appenders/interfaces/AppenderConfiguration.ts.
Overview
ts
interface AppenderConfiguration<Opts = any> {
type: string;
filename?: string;
layout?: BasicLayoutConfiguration;
maxLogSize?: number;
pattern?: string;
backups?: number;
levels?: string[];
options: Opts;
[key: string]: any;
}
type
ts
type: string;
filename
ts
filename?: string;
layout
ts
layout?: BasicLayoutConfiguration;
maxLogSize
ts
maxLogSize?: number;
pattern
ts
pattern?: string;
backups
ts
backups?: number;
levels
ts
levels?: string[];
options
ts
options: Opts;
[key: string]
ts
[key: string]: any;