diff --git a/packages/types/src/logger.ts b/packages/types/src/logger.ts index 75e829bb8cf6e..4ee8678bebdf9 100644 --- a/packages/types/src/logger.ts +++ b/packages/types/src/logger.ts @@ -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. @@ -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;