Skip to content
Logixlysia
Esc
↑↓navigate↵open⌘Jpreview
On this page

Comparison

How Logixlysia compares to evlog and other Elysia loggers

Feature matrix

Capability Logixlysia evlog @bogeychan/elysia-logger
Elysia plugin Yes Yes (evlog/elysia) Yes
Pino-backed Yes Optional drains Yes
Request context accumulation mergeContext, useLogger() log.set(), useLogger() Manual
Single access log per request Auto log.emit() Auto
File rotation Yes Via drains Limited
autoRedact PII Yes Varies Manual
WebSocket lifecycle logs wrapWs Manual Manual
OTel trace correlation logixlysia/otel Built-in integrations Manual
AI usage on access log logixlysia/ai evlog/ai Manual
Presets (dev / prod) Yes N/A N/A
Built-in destinations 9 adapters: Axiom, Better Stack, ClickHouse, Datadog, HyperDX, Loki, OTLP, PostHog, Sentry (logixlysia/<name>) Managed drains Manual
Head + tail sampling Yes Yes No
Enrichers Built-in (logixlysia/enrichers) + custom Yes Manual
Structured errors (why / fix) HttpError createError No
Neural PII redaction logixlysia/desertant Not built in Not built in

When to choose Logixlysia

  • You want Pino performance with Elysia-native store.logger ergonomics.
  • You need file logging and rotation without wiring a separate drain.
  • You prefer incremental context (mergeContext) plus automatic access logs instead of migrating to a wide-event-only API.

When to consider evlog

  • You need a logger that spans more than Elysia: evlog also covers Nuxt, Nitro, Next.js, and Hono.
  • You want evlog’s CLI and observability scoring built in.
  • You want evlog’s error catalog and client/browser logging.
  • You rely heavily on evlog/ai and evlog auth integrations out of the box.

Benchmarks

Run the monorepo benchmark package:

bun run bench

The benchmark package has three request-path suites: an overhead floor (all sinks disabled — measures plugin dispatch cost only), a structured sink run (no-op transport/drain — measures log assembly and dispatch), and a file sink run. Compare like with like: the floor numbers contain no logging work by design. Results vary by machine — use them for regression tracking, not absolute rankings.

Was this page helpful?