Skip to content

Commit 5ef1d81

Browse files
committed
hot fix logger
1 parent 046f342 commit 5ef1d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api-v2/src/logging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV === "production") {
1515
};
1616
}
1717

18-
let logger: pino.Logger;
18+
export let logger: pino.Logger;
1919
if (process.env.NODE_ENV === "production") {
2020
logger = pino({ level: "info" }, pino.transport(loggerOptions.transport)); // send to axiom on production
2121
} else {

0 commit comments

Comments
 (0)