C++ logging library for adding debug and error logs to applications
Portable, simple and extensible C++ logging library
$ #include <plog/Log.h>
int main() { PLOG_INFO << "Hello"; }$ plog::init(plog::debug, "app.log");$ PLOG_DEBUG << "Debug message";
PLOG_ERROR << "Error occurred";$ plog::init(plog::warning); // only warnings and errors$ class MyFormatter : public plog::CsvFormatter {};
plog::init<MyFormatter>(plog::debug, "app.log");