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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of spdlog!

Additional Project Details

Operating Systems

Android, Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ Logging Software, C++ Libraries

Registered

2021-05-20