13.2 log - Structured Logging

**Multi-level logging with categories for debugging and monitoring.**

NanoLang Mascot

Quick Start

Installation

Log Levels

API Reference

log_trace()

log_debug()

log_info()

log_warn()

log_error()

log_fatal()

log_set_level()

Examples

Basic Logging

Debugging with Context

Production Logging

Category-Based Logging

Best Practices

---

**Previous:** 13.1 regex - Regular Expressions

**Next:** 13.3 StringBuilder - Advanced Techniques