Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroki0525 committed Dec 14, 2023
1 parent ed5f9a8 commit c442622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/libs/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const setLogger = (newLogger: Logger): void => {
logger = newLogger;
};

type LogLevel = "debug" | "info" | "warn" | "error";
export type LogLevel = typeof process.env.LOG_LEVEL;

export const getLogLevel = (): LogLevel => {
return process.env.LOG_LEVEL ?? "info";
Expand Down

0 comments on commit c442622

Please sign in to comment.