Skip to content

Commit

Permalink
chore(types): add trace function to logger (#4104)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Oct 26, 2022
1 parent 6afdffe commit 2c370d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/types/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @example new Logger({logLevel: 'warn'}) will print all the warn and error
* message.
*/
export type LogLevel = "all" | "log" | "info" | "warn" | "error" | "off";
export type LogLevel = "all" | "trace" | "debug" | "log" | "info" | "warn" | "error" | "off";

/**
* An object consumed by Logger constructor to initiate a logger object.
Expand All @@ -21,6 +21,7 @@ export interface LoggerOptions {
* throughout the middleware stack.
*/
export interface Logger {
trace(...content: any[]): void;
debug(...content: any[]): void;
info(...content: any[]): void;
warn(...content: any[]): void;
Expand Down

0 comments on commit 2c370d6

Please sign in to comment.