Install
- Ubuntu: apt-get install libspdlog-dev.
- Homebrew: brew install spdlog.
- FreeBSD: cd /usr/ports/devel/spdlog/ && make install clean.
- Fedora: yum install spdlog.
- Gentoo: emerge dev-libs/spdlog.
- Arch Linux: yaourt -S spdlog-git.
- vcpkg: vcpkg install spdlog.
Is Spdlog header only?
Very fast, header-only/compiled, C++ logging library.
What is Spdlog?
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 (see the reference): ... For example, if you only need rotating logger, you need to include "spdlog/sinks/rotating_file_sink. h".