Home
Softono

Logixlysia

Open source MIT TypeScript
251
Stars
8
Forks
0
Issues
2
Watchers
3 months
Last Commit

 About Logixlysia

🦊 Logixlysia is a logger for ElysiaJS

Platforms

Web Self-hosted

Languages

TypeScript

Need Help Installing Logixlysia?

We provide expert installation service for this software. Our team will install, configure, and secure Logixlysia on your server. plans start at just $30.

Logixlysia

View on GitHub

🦊 Logixlysia

Logixlysia is a logging library for ElysiaJS Logixlysia

📩 Installation

bun add logixlysia

📝 Usage

import { Elysia } from 'elysia'
import logixlysia from 'logixlysia' // or import { logixlysia } from 'logixlysia'

const app = new Elysia({
    name: "Elysia with Logixlysia"
})
  .use(
    logixlysia({
      config: {
        service: 'api-server',
        showStartupMessage: true,
        startupMessageFormat: 'banner',
        showContextTree: true,
        contextDepth: 2,
        slowThreshold: 500,
        verySlowThreshold: 1000,
        timestamp: {
          translateTime: 'yyyy-mm-dd HH:MM:ss.SSS'
        },
        ip: true
        }
    }))
    .get('/', () => {
        return { message: 'Welcome to Basic Elysia with Logixlysia' }
    })
        
app.listen(3000)

📚 Documentation

Check out the website for more detailed documentation and examples.

📄 License

Licensed under the MIT License.