medium
Structured Logging System
A logging system with structured output and multiple transports
📝 Konten Prompt
Build a logging system with the following features: structured log entries (timestamp, level, category, message, context), multiple log levels (error, warn, info, debug), multiple output transports (console, file), filtering by level or category, and the ability to add contextual data that persists across log entries.