hono logger with log levels
Is there anyway we can use hono logging Middleware the way we use pino js e.g.?
3 Replies
You can use your choice of logger with the hono logger middleware - https://hono.dev/middleware/builtin/logger#printfunc
Logger Middleware - Hono
Ultrafast web framework for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
Or are you talking about the implementation then can you share some sudo code?
inorder to use pino with different log levels, I have combined them like this: