Skip to content

Commit 7d95b34

Browse files
authored
fix(types): make logger.trace an optional function (#4110)
1 parent 15ebdda commit 7d95b34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/types/src/logger.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export interface LoggerOptions {
2121
* throughout the middleware stack.
2222
*/
2323
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;
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;
2929
}

0 commit comments

Comments
 (0)