Logging & observability
Silence console output but keep local history
format: "silent" still writes every call to .klaro/logs.jsonl for klaro stats/explain -- it just doesn't print to stdout.
← All recipes
import { Klaro, logging } from "@klaroshield/sdk";
const klaro = new Klaro().use(
logging({ format: "silent" })
);
// klaro stats and klaro explain still work -- this only affects
// what gets printed to your terminal/process output.Checked against the shipped @klaroshield/sdk API. Full docs at klaro.services/klaroshield/docs.