I am looking for a small lightweight logging system in c++. I have found some existing frameworks but I don\'t need all of their features at this point in time. I primarily
I, as well as many others, also answered this question with some code.
This isn't really "ready" in all ways, but it could be easily modified:
https://gist.github.com/earonesty/977b14c93358fe9b9ee674baac5d42d7
Features:
LOGE(blah << stream))Missing stuff:
If anyone actually likes this solution in any way, lmk and I'll make a real repo out of it with tests, etc. It's pretty fast. Probably not as fast as speedlogger (a heavier feature complete library), but not sure.