Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
API_REFERENCE

autotoc_md815

doc_id: "LOG-API-002" doc_title: "API Reference" doc_version: "1.0.0" doc_date: "2026-04-04" doc_status: "Released" project: "logger_system"

category: "API"

Language: English | 한국어

API Reference

SSOT: This document is the single source of truth for API Reference.

Version: 0.5.0.0 Last Updated: 2026-02-08

This document has been split into focused sub-documents for easier navigation.

Sub-Documents

Document Description
API_REFERENCE_CORE.md Core logger class, ILogger interface, unified log context, scoped context guard, structured log builder, writer builder, configuration, builder pattern, interfaces, and error handling
API_REFERENCE_WRITERS.md All writer classes (console, file, rotating file, network, critical, batch), filters, formatters, log sampling, real-time analysis, backend integration, monitoring, usage examples, and migration guide
API_REFERENCE_SECURITY.md Security error codes, encrypted writer, secure key storage, critical logger interface, log sanitization, path validation, security filters, and audit logging

Overview

The Logger System (v5.0) provides a high-performance, thread-safe logging framework with:

  • Dual API Design: Supports both common::interfaces::ILogger (standardized) and native logger_system::log_level (backward compatible)
  • Standalone Mode: No external dependencies required (uses std::jthread internally)
  • Optional Integration: Thread_system integration is optional since v3.0
  • C++20 Features: Leverages Concepts and source_location for enhanced developer experience
  • Unified Log Context (v3.3.0): Thread-safe, category-based context management with type-safe storage
  • Structured Logging (v3.1.0): Fluent builder API for creating structured log entries with arbitrary fields
  • Writer Builder (v4.1.0): Fluent decorator composition for building complex writer configurations
  • Log Sampling (v3.3.0): Multiple sampling strategies (random, rate limiting, adaptive, hash-based) for high-volume scenarios
  • Real-time Analysis (v3.2.0): Anomaly detection with error spike, pattern matching, and rate anomaly alerts

Quick Links

Core

Writers and Filters

Security


Last Updated: 2026-02-08