Wednesday, January 15, 2014

c++ log libs

I am considering port a c++ log lib to android ndk. On linux and windows, I use log4cxx in my projects. It works fine. However porting it to android is not trivial. Then, I also searched for some other options.

boost.log
log4cxx, BSD, configure/make, not for android
log4cplus, BSD/MIT, cmake, android setting
google glog, BSD, configure/make, no android
muduo, BSD, cmake, not sure on android
pantheios, BSD, configure, not ready for android

The options might be log4cplus and muduo so far. I have not started trying. My second thought is it is worth porting, as it take time to port and learn the api.

I just leave a note here, and use dummy i/o for logging in my dummy project. Maybe I am back some time.


No comments:

Post a Comment