Skip to content

Latest commit

History

History
56 lines (38 loc) 路 2.11 KB

File metadata and controls

56 lines (38 loc) 路 2.11 KB

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!