@fonderie/logger
v0.1.2
Published
Structured logger with pluggable transports, child loggers, and a request-logging middleware. The observability foundation for every @fonderie-js app.
Maintainers
Readme
@fonderie/logger
Structured logging: pluggable transports, child loggers with inherited context, and a request-logging middleware — the brick that makes the other bricks observable.
Install
npm install @fonderie/loggerUse
import { FonderieApp, defineConfig } from '@fonderie/core';
import { LoggerModule } from '@fonderie/logger';
const app = await new FonderieApp(defineConfig({}))
.register(new LoggerModule())
.boot();import { Logger, ConsoleTransport, FileTransport } from '@fonderie/logger';
const log = new Logger({ transports: [new ConsoleTransport()] });Why this exists
You've shipped this plumbing before — auth, teams, billing, messaging —
and the next project will ask for it again. Fonderie packages it once:
plain TypeScript modules for
@fonderie/core,
PostgreSQL-backed, self-hosted, MIT. No external control plane, no
per-seat anything. Register the modules you need; skip the ones you don't.
This package owns how you see inside. Structured, transport-pluggable logging for everything the other bricks do.
Browse the whole set at fonderie-js/sdk · follow @fonderiejs
License
MIT © Fonderie, Inc.
