Overview of the Charm Log library
mainCharm Log is a minimal and colorful Go logging library designed for human-readable, structured logging. It provides a leveled logging system with several key features:
- Colorful Output: Uses Lip Gloss to style and colorize logs.
- Human Readable: Optimized for terminal visibility.
- Customizable: Supports custom timestamp formats and multiple output formats including Text, JSON, and Logfmt.
- Context Support: Ability to store and retrieve loggers from
context.Context. - Integrations: Includes an
sloghandler and a standardlogadapter. - Smart Caller Tracking: Automatically skips caller frames and marks functions as helpers to ensure accurate log locations.