/nice-logger

🪵 Nice logger for Elysia

Primary LanguageTypeScriptMIT LicenseMIT

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")
  }));
  .get("/", "Hello via Elysia!")
  .listen(3000);

🍀 Show your Support

Give a ⭐️ if this project helped you!