feat: add pino logging to next

This commit is contained in:
Henry
2025-05-15 22:56:01 +01:00
parent d065ae73e1
commit bb9877c899
4 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
export async function register() {
if (process.env.NEXT_RUNTIME === "nodejs") {
await require("pino");
await require("next-logger");
}
}