spdlog is a header only library. Just copy the files under include to your build tree and use a C++11 compiler. It provides a python like formatting API using the bundled fmt lib. spdlog takes the "include what you need" approach, your code should include the features that actually needed. For example, if you only need rotating logger, you need to include "spdlog/sinks/rotating_file_sink.h". spdlog provides various log targets, which are, rotating log files, daily log files, console logging (colors supported), syslog, Windows event log, and Windows debugger (OutputDebugString(..)). Easily extendable with custom log targets. Log filtering, log levels can be modified in runtime as well as in compile time. Support for loading log levels from argv or from environment var. Backtrace support, store debug messages in a ring buffer and display later on demand.

Features

  • Headers only or compiled
  • Feature rich formatting, using the excellent fmt library
  • Asynchronous mode (optional)
  • Custom formatting
  • Multi/Single threaded loggers
  • Various log targets

Project Samples

Project Activity

See All Activity >

Categories

Logging, Libraries

License

MIT License

Follow spdlog

spdlog Web Site

Other Useful Business Software
Auth for GenAI | Auth0 Icon
Auth for GenAI | Auth0

Enable AI agents to securely access tools, workflows, and data with fine-grained control and just a few lines of code.

Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of spdlog!

Additional Project Details

Operating Systems

Linux, Android, Mac, Windows

Programming Language

C++

Related Categories

C++ Logging Software, C++ Libraries

Registered

2021-05-20