1 | import { Logger as WinstonLogger } from 'winston';
|
2 | import { LoggerConfigInterface } from '../Config';
|
3 | export declare class Logger {
|
4 | private readonly adapter;
|
5 | constructor(config: LoggerConfigInterface);
|
6 | getAdapter(): WinstonLogger;
|
7 | error(message: string | object, ...logArguments: any[]): WinstonLogger;
|
8 | warn(message: string | object, ...logArguments: any[]): WinstonLogger;
|
9 | help(message: string | object, ...logArguments: any[]): WinstonLogger;
|
10 | data(message: string | object, ...logArguments: any[]): WinstonLogger;
|
11 | info(message: string | object, ...logArguments: any[]): WinstonLogger;
|
12 | debug(message: string | object, ...logArguments: any[]): WinstonLogger;
|
13 | prompt(message: string | object, ...logArguments: any[]): WinstonLogger;
|
14 | http(message: string | object, ...logArguments: any[]): WinstonLogger;
|
15 | verbose(message: string | object, ...logArguments: any[]): WinstonLogger;
|
16 | input(message: string | object, ...logArguments: any[]): WinstonLogger;
|
17 | silly(message: string | object, ...logArguments: any[]): WinstonLogger;
|
18 | emerg(message: string | object, ...logArguments: any[]): WinstonLogger;
|
19 | alert(message: string | object, ...logArguments: any[]): WinstonLogger;
|
20 | crit(message: string | object, ...logArguments: any[]): WinstonLogger;
|
21 | warning(message: string | object, ...logArguments: any[]): WinstonLogger;
|
22 | notice(message: string | object, ...logArguments: any[]): WinstonLogger;
|
23 | }
|