Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.15k stars 93 forks source link

Logging redirecting #27

Closed binarytrails closed 5 years ago

binarytrails commented 5 years ago

Hi devs,

As I'm finishing the integration of RESTinio as a proxy server, I'm wondering how would I properly redirect the logging using the restinio::traits_t or perhaps, another way that you would suggest?

Basically, we have our own logger, and I would like to redirect it to the same one to avoid clashing and format a little bit the output to be standard to ours.

Cheers, Seva

eao197 commented 5 years ago

IIRC, I described this case in that article.