This commit is contained in:
bipproduction
2025-11-03 21:29:27 +08:00
parent 89692cafea
commit 7f9bf9e205

View File

@@ -8,6 +8,7 @@ if (!fs.existsSync(LOG_DIR)) {
fs.mkdirSync(LOG_DIR, { recursive: true })
}
// Konfigurasi logger
export const logger = pino({
level: process.env.LOG_LEVEL ?? 'info',