You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
587 B
24 lines
587 B
2 years ago
|
|
||
|
export declare function createNullLogger(): Logger;
|
||
|
|
||
|
export declare type Logger = {
|
||
|
/**
|
||
|
* Logs debug messages.
|
||
|
*/
|
||
|
readonly debug: (message: string, args?: any) => Readonly<Promise<void>>;
|
||
|
/**
|
||
|
* Logs info messages.
|
||
|
*/
|
||
|
readonly info: (message: string, args?: any) => Readonly<Promise<void>>;
|
||
|
/**
|
||
|
* Logs error messages.
|
||
|
*/
|
||
|
readonly error: (message: string, args?: any) => Readonly<Promise<void>>;
|
||
|
};
|
||
|
|
||
|
export declare const LogLevelEnum: Readonly<Record<string, LogLevelType>>;
|
||
|
|
||
|
export declare type LogLevelType = 1 | 2 | 3;
|
||
|
|
||
|
export { }
|