We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ebdda commit 7d95b34Copy full SHA for 7d95b34
packages/types/src/logger.ts
@@ -21,9 +21,9 @@ export interface LoggerOptions {
21
* throughout the middleware stack.
22
*/
23
export interface Logger {
24
- trace(...content: any[]): void;
25
- debug(...content: any[]): void;
26
- info(...content: any[]): void;
27
- warn(...content: any[]): void;
28
- error(...content: any[]): void;
+ trace?: (...content: any[]) => void;
+ debug: (...content: any[]) => void;
+ info: (...content: any[]) => void;
+ warn: (...content: any[]) => void;
+ error: (...content: any[]) => void;
29
}
0 commit comments