Skip to content

Commit

Permalink
hot fix logger
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvincent committed Sep 16, 2023
1 parent 046f342 commit 5ef1d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api-v2/src/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (process.env.NODE_ENV === "production") {
};
}

let logger: pino.Logger;
export let logger: pino.Logger;
if (process.env.NODE_ENV === "production") {
logger = pino({ level: "info" }, pino.transport(loggerOptions.transport)); // send to axiom on production
} else {
Expand Down

1 comment on commit 5ef1d81

@vercel
Copy link

@vercel vercel bot commented on 5ef1d81 Sep 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.