logger-gen
✓Verified·Scanned 2/18/2026
This CLI generates production-ready structured logging configs for pino, winston, or bunyan (e.g., run npx ai-logger). It requires OPENAI_API_KEY and calls the OpenAI API via the openai SDK, which is purpose-aligned network/credential use.
from clawhub.ai·vddc1944·39.8 KB·0 installs
Scanned from 1.0.2 at ddc1944 · Transparency log ↗
$ vett add clawhub.ai/lxgicstudios/logger-gen
ai-logger
Set up structured logging in seconds. Generates production-ready config for pino, winston, or bunyan with request tracking, log rotation, and pretty dev output.
Install
npm install -g ai-logger
Usage
npx ai-logger pino
# Generates pino structured logging setup
npx ai-logger winston -o lib/logger.ts
# Winston config saved to file
npx ai-logger bunyan -e edge
# Edge runtime compatible
Setup
export OPENAI_API_KEY=sk-...
Options
-e, --env <environment>- node, browser, edge (default: node)-o, --output <path>- Save to file
License
MIT