Breakout util into seperate files

This commit is contained in:
Dominic Ferrando
2026-10-04 00:07:19 -04:00
parent 0501e63dc7
commit 0576421368
20 changed files with 78 additions and 65 deletions
+8
View File
@@ -0,0 +1,8 @@
import { pino } from 'pino';
export const log = pino({
level: Bun.env.LOG_LEVEL ?? "info",
transport: Bun.env.NODE_ENV != "production"
? { target: "pino-pretty" }
: undefined,
});