plog

Portable C++ logging library with simple and extensible design

brewmacoslinux
Try with needOr install directly
Source

About

Portable, simple and extensible C++ logging library

Commands

plog

Examples

Include plog header in C++ project for basic logging$ #include <plog/Log.h>
Initialize plog with file output in main function$ plog::init(plog::debug, "output.log");
Log messages at different severity levels$ PLOGD << "Debug message"; PLOGI << "Info message"; PLOGW << "Warning message";