doc.yeswiki.pro/node_modules/@algolia/logger-common/dist/logger-common.d.ts
2023-05-20 19:38:02 +03:00

23 lines
610 B
TypeScript

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 { }