Skip to content

LoggerJSA faster, more powerful isomorphic logger

Collect, process, deliver. One fast pipeline.

LoggerJS logo

The LoggerJS Pipeline

CollectManual logs plus browser and Node integrations.ShapeMiddleware keeps raw records cheap and composable.ProcessProcessors project events only when richer behavior is needed.DeliverTransports choose codecs, batching, retries, and destinations.
ts
import { createLogger, stdoutTransport } from "@loggerjs/node";
import { redactProcessor } from "@loggerjs/processors";

const logger = createLogger({
  category: ["api"],
  level: "info",
  processors: [redactProcessor({ keys: ["password", /token/i] })],
  transports: [stdoutTransport()],
});

logger.info("order created", { orderId: "ord_123" });
await logger.flush();

Where To Start

New project

Start with the Node or browser quick start, then add processors and transports for your runtime.

Production rollout

Use the production recipes and operations guide for privacy, offline queues, crash paths, and vendor delivery.

API lookup

Use the generated package and API reference pages for exports, subpaths, and public declaration reports.

Documentation Map

Released under the MIT License.