Skip to content
ν”„λ‘œμ νŠΈ

PunGrumpy/logixlysia has 276 GitHub stars and 10 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 20:33 UTC. Last push 2026-11-12.

이 수치λ₯Ό μΈ‘μ •ν•˜λŠ” 방법

What you can do

  • Request context: accumulate fields with mergeContext into a context tree. Docs
  • Presets: dev, prod, and json output. Docs
  • File logging: writes to disk with rotation by size, age, or count. Docs
  • Adapters: nine built-in destinations, Axiom, Better Stack, ClickHouse, Datadog, HyperDX, Loki, OTLP, PostHog, and Sentry. Docs

μΈ‘μ •λœ μŠ€νƒ€ 증가

in 24h
0
in 7 days
기둝 μˆ˜μ§‘ 쀑
in 15 days
기둝 μˆ˜μ§‘ 쀑
in 1 month
기둝 μˆ˜μ§‘ 쀑

μ„œλ‘œ κ²ΉμΉ˜λŠ” κΈ°κ°„μ˜ μˆœμ¦κ°€λŸ‰μ΄λ©° 일별 합계가 μ•„λ‹™λ‹ˆλ‹€. 츑정값이 μ—†μœΌλ©΄ λΉ„μ›Œ λ‘‘λ‹ˆλ‹€. μŠ€νƒ€λŠ” 관심도λ₯Ό λ‚˜νƒ€λ‚΄λ©° ν’ˆμ§ˆμ„ 보μž₯ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

μ†Œκ°œ

🦊 Logixlysia is a logger for ElysiaJS

개발 도ꡬ

README.md

Original

🦊 Logixlysia

Logixlysia is a logging library for ElysiaJS Logixlysia

πŸ“© Installation

bun add logixlysia

πŸ“ Usage

Add the plugin, then log from a handler with log. Fields you add with log.mergeContext land on that request's access line.

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

new Elysia()
  .use(logixlysia())
  .get('/users/:id', ({ log, params }) => {
    log.mergeContext({ userId: params.id })
    return { id: params.id }
  })
  .listen(3000)

GET /users/42 prints this when the output is piped or colors are off:

2026-11-12T05:54:29.847Z INFO  GET     /users/42 200 1ms
  └─ userId  42

Configuration

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)

✨ Features

  • Request context: accumulate fields with mergeContext into a context tree. Docs
  • Presets: dev, prod, and json output. Docs
  • File logging: writes to disk with rotation by size, age, or count. Docs
  • Adapters: nine built-in destinations, Axiom, Better Stack, ClickHouse, Datadog, HyperDX, Loki, OTLP, PostHog, and Sentry. Docs
  • Sampling: head and tail sampling controls log volume. Docs
  • Enrichers: add trace, user agent, geo, and size fields to every request. Docs
  • Redaction: autoRedact masks PII by pattern; logixlysia/desertant adds neural redaction. Config docs, Neural redaction docs
  • Structured errors: HttpError carries why, fix, and link. Docs
  • Request IDs: read from the incoming request or generated, when requestId is on (the prod preset turns it on). Docs
  • OpenTelemetry: trace correlation and AI usage metrics on the access log. Docs
  • WebSocket logging: lifecycle logs via wrapWs. Docs

πŸ“š Documentation

Check out the website for more detailed documentation and examples.

Using a coding agent? The repo ships an agent skill with the API and conventions.

πŸ“„ License

Licensed under the MIT License.