fix: refactoring logs and adding pino logger for production and dev.

This commit is contained in:
Charles GTE
2026-03-29 11:41:39 +02:00
parent f410a8fdd5
commit 1ce93af144
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export async function POST(
) {
try {
const agentId = (await params).agentId
log.debug(`Agent ID: ${agentId}`)
log.info(`Agent ID: ${agentId}`)
const body: Body = await request.json();
const lastContact = new Date();
let message: string