Rule Backend

Structured Logging

Use structured JSON logging instead of console.log

backendloggingobservability
CLAUDE.md

Use structured JSON logging with consistent fields: timestamp, level, message, request_id, and relevant context. Don’t use console.log in production. Structured logs are searchable and parseable.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl