Content-Length: 302906 | pFad | http://github.com/cybercoder-naj/logestic

BD GitHub - cybercoder-naj/logestic: An advanced and customisable logging library for ElysiaJS
Skip to content

cybercoder-naj/logestic

Repository files navigation

Logestic

npm version

DemoDocumentationChangelogLicense

An advanced and customisable logging library for ElysiaJS.

fancy preset
Table of Contents

Installation

Add the package to your Elysia Project via bun.

  bun add logestic

Compatibility Matrix

Logestic Version Elysia Version Compatible?
<= v1.2.0 v1.0.9
v1.2.0 - v1.2.1 v1.1.0
>= v1.2.2 v1.1.3

Usage

There are two ways to add logging to your Elysia application. The quickest way to use this logger is using a preset.

import { Elysia } from 'elysia';
import { Logestic } from 'logestic';

const app = new Elysia()
  .use(Logestic.preset('common'))
  .get('/', () => "Hello from server")
  /* ... */
  .listen(3000, () => {
    console.log("Server is running on port 3000")
  });

These presets available to use.

Contributing Guidelines

See CONTRIBUTING.md

About

An advanced and customisable logging library for ElysiaJS

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/cybercoder-naj/logestic

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy