@chneau/elysia-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

elysia-logger

Installation

bun install @chneau/elysia-logger

Example

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

const app = new Elysia().use(logger()).listen(8080);
/*
<-- GET /logout
--> GET /logout 200 in 0 ms
<-- POST /login
--> POST /login 200 in 5 ms
/*

Changelog

[1.0.2] - 2024-08-08

Added

  • Tests.

Fixed

  • Properly log error requests.

[1.0.1] - 2024-08-03

Fixed

  • Package npm link.

Readme

Keywords

Package Sidebar

Install

npm i @chneau/elysia-logger

Weekly Downloads

48

Version

1.0.10

License

MIT

Unpacked Size

3.55 kB

Total Files

5

Last publish

Collaborators

  • charlesneau