Skip to content

Commit 2c370d6

Browse files
authored
chore(types): add trace function to logger (#4104)
1 parent 6afdffe commit 2c370d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/types/src/logger.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @example new Logger({logLevel: 'warn'}) will print all the warn and error
77
* message.
88
*/
9-
export type LogLevel = "all" | "log" | "info" | "warn" | "error" | "off";
9+
export type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off";
1010

1111
/**
1212
* An object consumed by Logger constructor to initiate a logger object.
@@ -21,6 +21,7 @@ export interface LoggerOptions {
2121
* throughout the middleware stack.
2222
*/
2323
export interface Logger {
24+
trace(...content: any[]): void;
2425
debug(...content: any[]): void;
2526
info(...content: any[]): void;
2627
warn(...content: any[]): void;

0 commit comments

Comments
 (0)