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

logestic

Package Overview
Dependencies
Maintainers
0
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.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
increased by10.42%
Maintainers
0
Weekly downloads
 
Created
Source

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 VersionElysia VersionCompatible?
<= v1.2.0v1.0.9
v1.2.0 - v1.2.1v1.1.0
>= v1.2.2v1.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

Keywords

FAQs

Package last updated on 10 Oct 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