A logging middleware for the Elysia web framework. Developed with Bun.
bun add @grotto/logysia
import {logger} from '@grotto/logysia';
import { Elysia } from "elysia";
if (import.meta.main) {
const app = new Elysia()
.use(logger())
.get("/", ctx => "Hello, world!");
}
Logysia also supports printing when there are errors in your application.