radius-read
Version:
Realtime Dashboard
64 lines (63 loc) • 1.4 kB
TypeScript
import { LogType } from "./../enums/logger.enum";
export declare class LogAppender {
rollingFileAppender: RollingFileAppender;
consoleAppender: ConsoleAppender;
}
export declare class RollingFileAppender {
type: string;
filename: string;
maxLogSize: number;
backups: number;
compress: boolean;
layout: AppenderLayout;
}
export declare class ConsoleAppender {
enabled: boolean;
type: string;
layout: AppenderLayout;
}
export declare class AppenderLayout {
type: string;
pattern: string;
}
export declare class LogStack {
method: string;
relativePath: string;
line: string;
pos: string;
file: string;
stack: string;
}
export declare class LogFormat {
level: string;
message: string;
timestamp: string;
metadata: any;
}
export declare class LogConfig {
type: LogType;
options: LogOptions;
customFormat: boolean;
}
export declare class LogOptions {
console: ConsoleLogOptions;
file: FileLogOptions;
}
export declare class ConsoleLogOptions {
level: string;
handleexceptions: boolean;
json: boolean;
colorize: boolean;
eol: string;
}
export declare class FileLogOptions {
level: string;
filename: string;
handleexceptions: boolean;
json: boolean;
maxsize: number;
maxfiles: number;
colorize: boolean;
timestamp: boolean;
eol: string;
}