{"repo":"ethz-asl/lpp","free":true,"listed":false,"github":"https://github.com/ethz-asl/lpp","clone":"git clone https://github.com/ethz-asl/lpp.git","description":"A header-only logging library that standardizes logging output at compile time.","language":"C++","stars":41,"topics":["cpp","logging","ros","header-only"],"license":"BSD-3-Clause","category":"analytics","readme_excerpt":"Log++ Logging framework Latest Code Coverage Report (master branch) Features - Framework to standardize ros and glog output at compile time. - Uses ros/glog's native log calls depending on selected mode. - Optional Python bindings with a method-based logger API. - Customize log output - All log calls are thread-safe. - Lightweight with performance in mind - Header only for C++ - GCC 8 or later required - Recommended to use with C++17/C++20, but also works with C++11/C++14. Example src/demo.cpp Output with different flags - MODE DEFAULT: - MODE LPP: - MODE GLOG: - MODE ROSLOG: Installation Option 1: Copy the header 1. Copy the header file include/log++.h to your project. 2. Add the following line to CMakeLists.txt to select the desired mode for... - a project: - a specific executable or library: Option 2: Add Log++ as a submodule 1. Add Log++ as a submodule with following command: 2. Add following lines in CMakeLists.txt 3. To update Log++ to the latest commit, execute the following commands: From submodule directory From parent directory Option 3: Build as catkin package 1. Clone the package into the catkin workspace 2. Build package Option 4: Install the Python package The Python bindings are built only through scikit-build. Normal CMake and catkin builds do not require Python or nanobind. or build a wheel: Usage Modes - MODE LPP Log++ Logging output. - MODE GLOG: Google Logging output. Calls abort() if it logs a fatal error. - MODE ROSLOG: ROS Logging output. - MODE SYSD: s","default_branch":null,"files":null,"tree":[],"storefront":"/r/ethz-asl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ethz-asl/lpp/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."}