{"repo":"badaix/aixlog","free":true,"listed":false,"github":"https://github.com/badaix/aixlog","clone":"git clone https://github.com/badaix/aixlog.git","description":"Header-only C++ logging library","language":"C++","stars":148,"topics":["logging","log","syslog","logcat","eventlog","android-log","macos-log","cpp11","outputdebugstring"],"license":"MIT","category":"mobile-apps","readme_excerpt":"AixLog Header-only C++ logging library Features Single header file implementation Simply include and use it! No dependcies, just vanilla C++11 Permissive MIT license Use ostream operator << Unobtrusive, typesafe and expressive Easy to switch from existing \"cout logging\" Fancy name Native support for various platforms (through Sinks) Linux, Unix: Syslog macOS: Unified logging (os log), Syslog (<10.12) Android: Android Log Windows: Event log, OutputDebugString Several Sinks: cout cerr Sink with custom callback function implement your own log sink in a lambda with a single line of code Easy to add more... Manipulators for Different log levels: TRACE, DEBUG, INFO, NOTICE, WARNING, ERROR, FATAL LOG(ERROR) << \"some error happened!\" LOG(DEBUG) << \"Just a debug message\" Conditional logging: simply put COND(bool) in front LOG(INFO) << COND(false) << \"will not be logged\\n\" LOG(INFO) << COND(true) << \"will be logged\\n\" Support for tags: LOG(INFO, \"my tag\") << \"some message\" ...is the same as... LOG(INFO) << TAG(\"my tag\") << \"some message\" Capture function and line number and timestamp Filters: filter by tag and/or by severity what message is logged where, e.g. Add a syslog sink with the filters :error , SYSLOG:trace to receive only messages with severity error or with tag SYSLOG Add another cout sink with filter :debug to receive all messages with debug or higher severity Support for colors: Foreground: LOG(INFO) << COLOR(red) << \"red foreground\" Foreground and background: LOG(INFO) << ","default_branch":null,"files":null,"tree":[],"storefront":"/r/badaix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/badaix/aixlog/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."}