spdlog

Fast C++ logging library.

166 articles 29.2k View on GitHub ↗
166 articles
spdlog Sink Performance: A Complete Guide to Choosing Fast Logging Backends

Explore spdlog sink performance differences. Learn how thread-safety, I/O cost, and processing impact logging speed and choose the fastest backend for your application.

performance
Aug 6, 2026
How to Integrate spdlog with Qt Applications Using qt_color_logger

Integrate spdlog with Qt applications effortlessly using qt_color_logger. Stream color coded logs directly to your QTextEdit widget for enhanced debugging and monitoring.

how-to-guide
Aug 6, 2026
How spdlog's Error Handler Mechanism Works and How to Customize It

Discover how spdlog's error handler works and learn to customize it with callbacks. Set global or per-logger handlers for robust error management in your C++ applications.

deep-dive
Aug 6, 2026
How to Configure spdlog for Windows-Specific Logging: Event Log and Debugger Output

Learn to configure spdlog for Windows logging with Event Log and debugger output using win_eventlog_sink_mt and msvc_sink_mt. Integrate spdlog seamlessly into your Windows applications.

how-to-guide
Aug 6, 2026
How spdlog's Thread Pool Enables Asynchronous Logging: Architecture Deep Dive

Explore spdlog's thread pool for asynchronous logging. Learn how it offloads sink I/O to dedicated threads, enabling non-blocking log message queuing for faster application performance.

deep-dive
Aug 6, 2026
How to Use spdlog's Stopwatch for Measuring Elapsed Time in Logging

Learn how to use spdlog stopwatch to measure elapsed time in your logs. This header-only utility integrates seamlessly with fmt for efficient timing.

how-to-guide
Aug 6, 2026
spdlog rotating_file_sink vs daily_file_sink: Key Implementation Differences

Explore spdlog rotating_file_sink vs daily_file_sink implementation differences. Understand distinct file naming and cleanup for size-based vs. time-based log rotation.

deep-dive
Aug 6, 2026
How to Create User-Defined Type Formatters in spdlog: A Complete Guide to fmt Integration

Learn to create user defined type formatters in spdlog by specializing fmt formatter. This guide explains seamless integration with fmt for custom logging.

how-to-guide
Aug 6, 2026
How to Configure spdlog's Periodic Flush Feature and Understand Thread-Safety Implications

Configure spdlog's periodic flush feature using flush_every and understand its thread-safe design. Learn how background threads ensure efficient, secure logging.

how-to-guide
Aug 6, 2026
How spdlog Integrates with the fmt Library for Formatting Arguments

Discover how spdlog integrates with the fmt library for efficient, zero-copy argument formatting. Learn about its internal bundling and use of fmt::vformat_to for streamlined log messages.

internals
Aug 6, 2026
spdlog log_msg Internal Structure: How Log Records Flow Through Sinks

Explore spdlog's log_msg internal structure and how it efficiently flows through sinks. Learn about zero-copy record delivery for optimal performance.

internals
Aug 6, 2026
How to Configure spdlog File Event Handlers for Open/Close Callbacks

Learn how to configure spdlog file event handlers with before open and after close callbacks. Enhance your logging by registering custom functions for file operations.

how-to-guide
Aug 6, 2026
…

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →