zedkit
@zedtech/zedkit-observability

Log without importing a backend

A small `Logger` port with noop, console, and in-memory adapters.

alpha

At a glance

  • Who: TypeScript services and apps that should not import a logging SDK in feature code.
  • What: A small Logger port with noop, console, and in-memory adapters.
  • Use when: Any module that needs structured logs but should stay testable.
  • Avoid when: When you only need one console.log in a throwaway script.

Install

pnpm add @zedtech/zedkit-observability

Latest: 0.1.0 (via changesets).

Example

Usage
import { createMemoryLogger, type Logger } from "@zedtech/zedkit-observability";
const { logger, entries } = createMemoryLogger();
logger.info("ready", { port: 3000 });

Wraps: (none)

On this page