8000 GitHub - armada45-pixel/logysia: Logysia is a logging library for the Elysia Web Framework for Bun (JS/TS).
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

armada45-pixel/logysia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logysia

A logging middleware for the Elysia web framework. Developed with Bun.

Installation

bun add @grotto/logysia

Usage/Examples

import {logger} from '@grotto/logysia';
import { Elysia } from "elysia";


if (import.meta.main) {
    const app = new Elysia()
        .use(logger({logIP: true}))
        .get("/", ctx => "Hello, world!");
}

Result

Alt text

Logysia also supports printing when there are errors in your application.

About

Logysia is a logging library for the Elysia Web Framework for Bun (JS/TS).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%
0