Skip to main content
Back to registry

review-logging-patterns

hugorcd/evlog

Review and improve logging patterns in TypeScript/JavaScript codebases. Transform scattered console.logs into structured wide events and convert generic errors into self-documenting structured errors.

Installs422
Install command
npx skills add https://github.com/hugorcd/evlog --skill review-logging-patterns
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
Review and improve logging patterns in TypeScript/JavaScript codebases. Transform scattered console.logs into structured wide events and convert generic errors into self-documenting structured errors. All evlog functions ( useLogger , createError , parseError , log ) are auto-imported — no import statements needed. Drain, enrich, and tail sampling use Nitro hooks in server plugins: Client transport (auto-configured Vue plugin): Client-side: log , setIdentity , clearIdentity are auto-imported in components. Step 1: Create central config — all exports come from here: Step 2: Wrap route handlers with withEvlog() : Step 3: Server Actions — same withEvlog() wrapper: Step 4: Middleware (optional — sets x-request-id + timing headers): Step 5: Client Provider — wrap root layout: Step 6: Client logging — in any client component: Step 7: Client ingest endpoint — receives client logs: Access the logger via event.locals.log in route handlers or useLogger() from anywhere in the call stack: Full pipeline with drain, enrich, and tail sampling: TanStack Start uses Nitro v3. Install evlog and add a nitro.config.ts : Add the error handling middleware to __root.tsx : Use useRequest() from nitro/context to access the logger: Import useLogger from evlog/nitro in routes. EvlogModule.forRoot() registers a global middleware. Use useLogger() to access the request-scoped logger from any controller or...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does review-logging-patterns do?

Review and improve logging patterns in TypeScript/JavaScript codebases. Transform scattered console.logs into structured wide events and convert generic errors into self-documenting structured errors.

Is review-logging-patterns good?

review-logging-patterns does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does review-logging-patterns work with?

review-logging-patterns currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to review-logging-patterns?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install review-logging-patterns?

npx skills add https://github.com/hugorcd/evlog --skill review-logging-patterns

Related skills

More from hugorcd/evlog

Related skills

Alternatives in Software Engineering