migrate to blitzjs
This commit is contained in:
12
integrations/logger.ts
Normal file
12
integrations/logger.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import pino from "pino"
|
||||
|
||||
const appLogger = pino({
|
||||
level: "debug",
|
||||
base: {
|
||||
env: process.env.NODE_ENV || "NODE_ENV not set",
|
||||
revision: process.env.VERCEL_GITHUB_COMMIT_SHA,
|
||||
},
|
||||
prettyPrint: true,
|
||||
})
|
||||
|
||||
export default appLogger
|
Reference in New Issue
Block a user