Skip to content

tanishqmanuja/nice-logger

Repository files navigation

Logo

"Not the nicest, but a pretty nice and sweet logger for Elysia."

Downloads NPM Version GitHub Workflow Status License

🚀 Installation

bun add @tqman/nice-logger

📃 Usage

import Elysia from "elysia";
import { logger } from "@tqman/nice-logger";

const app = new Elysia()
  .use(logger({
    mode: "live", // "live" or "combined" (default: "combined")
    withTimestamp: true, // optional (default: false)
  }));
  .get("/", "Hello via Elysia!")
  .listen(3000);

🍰 Showcase

Some awesome projects to checkout !!!

🍀 Show your Support

Give a ⭐️ if this project helped you!