mercredi 20 février 2019

Is there a C++ library for async logger that supports multiple loggers that write to different files

For one of the projects at work we need to implement an asynchronous logger. Before getting hands dirty with the code I was wondering if there is already a library that we can use. Based on my research what I have seen is that such libraries normally support single file logging. For example

LOG(debug) << "Something";

Assuming everything is configured properly, this will write the message "Something" into a log file. Our case is rather unusual as our application that runs in the background, logs into multiple files. For example one log is service related information and the other one is about requests that the service receives.

Within this context, do you know any open source library that can be used with or without minimal changes?

NOTE: given the small reputation, please don't judge strictly if the question is not properly explained. Happy to improve based on your comments :)

Aucun commentaire:

Enregistrer un commentaire