Skip to main content

Documentation Index

Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt

Use this file to discover all available pages before exploring further.

Use logger(...) when you want request-aware logs around tool execution without wiring your own hooks every time.

Basic example

import { logger, Redop } from "@redopjs/redop";

new Redop({ serverInfo: { name: "logs" } }).use(logger({ level: "info" }));

Send logs somewhere else

new Redop({ serverInfo: { name: "logs" } }).use(
  logger({
    write: (entry) => {
      console.log("[my-app]", JSON.stringify(entry));
    },
  }),
);

Good use cases

  • local debugging
  • structured request logs
  • pairing with log drains or observability tooling
  • lightweight visibility before building custom hooks

See also