GitHub - linkdd/logfmtxx: Header only C++23 structured logging library using logfmt
logfmtxx
Header-only C++23 structured logging library using the
logfmt format.
Installation
Just copy the include/logfmtxx.hpp in your project.
Or with Shipp, add it to your dependencies:
{
"name": "myproject",
"version": "0.1.0",
"dependencies": [
{
"name": "logfmtxx",
"url": "https://github.com/linkdd/logfmtxx.git",
"version": "v0.1.0"
}
]
}
Usage
First, include the relevant headers:
#include <iostream> // if you wish to print logs with std::cout or std::cerr
#include <logfmtxx.hpp>
Then creat...
Read more at github.com