From baf51230ba84e64d263b7b94e046343eb3ee4cf5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 27 Dec 2023 20:57:20 -0600 Subject: [PATCH] debug: hono logger --- src/app.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 5ac26360..3bb80ecf 100644 --- a/src/app.ts +++ b/src/app.ts @@ -4,6 +4,7 @@ import { type User } from '@/db/users.ts'; import { type Context, cors, + Debug, type Event, type Handler, Hono, @@ -90,7 +91,7 @@ if (Conf.sentryDsn) { app.use('*', sentryMiddleware({ dsn: Conf.sentryDsn })); } -app.use('*', logger()); +app.use('*', logger(Debug('ditto:http'))); app.get('/api/v1/streaming', streamingController); app.get('/api/v1/streaming/', streamingController);