{"repo":"jgaa/logfault","free":true,"listed":false,"github":"https://github.com/jgaa/logfault","clone":"git clone https://github.com/jgaa/logfault.git","description":"One C++ log library to rule them all! MacOS, IOS, Android, Linux, Windows, QT, std::clog","language":"C++","stars":67,"topics":["cpp-library","header-only","logging","ios-lib","android-library","android-ndk","syslog-client"],"license":"MIT","category":"mobile-apps","readme_excerpt":"logfault Simple to use, header only C++ library for application-logging on all major platforms. No dependencies, except the standard-library for C++11 and platform dependent logging libraries, like log for Android. Why another C++ logging library? Simply because I am tired of using different log methods on different platforms. Most of the C++ code I write is highly portable, and it makes sense to add logging in a convenient manner. For me that is to send the log to a std::ostream like device. Logging should be as easy as writing to std::cout ! Logfault can write log-events to traditional log-files, but it's also capable of using the native logging facility for the target platform for the target application. That means that you can write your C++ library, and then let the consumer of the library configure logging for the platform they build it for. Logfault is not meant as a replacement of a sophisticated logger for a large application. It's more like a hack to get logging right, in libraries, smaller applications and mobile apps written in C++. It was written in a few hours when I desperately needed to get log-output from the C++ library for Android and IOS mentioned above. In the following days I have spent a few extra hours to make it a little more mature, and hopefully useful for other developers as well. What are the benefits of logfault? - Header only library. - Very, very easy to use: LFLOG DEBUG << \"We are entering foo foo: \" << 1 << 2 << 3; - Designed to make a tiny b","default_branch":null,"files":null,"tree":[],"storefront":"/r/jgaa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jgaa/logfault/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}