Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logestic

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logestic

An advanced and customisable logging library for ElysiaJS

  • 1.0.0-alpha.5
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Logestic

npm version

An advanced and customisable logging library for ElysiaJS.

Table of Contents

Installation

Add the package to your Elysia Project via bun.

  bun add logestic

Note: You must have elysia@1.0 installed in your project.

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.

Documentation

To view the full documentation, view the wiki.

Contributing Guidelines

See CONTRIBUTING.md

License

MIT

Keywords

FAQs

Package last updated on 26 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc