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

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
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