# qspdlog **Repository Path**: ground_station/qspdlog ## Basic Information - **Project Name**: qspdlog - **Description**: fork from https://github.com/arsdever/qspdlog. resolve performance issue. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-17 - **Last Updated**: 2025-07-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # QSpdLog # Rapidly display log messages in a Qt widget using spdlog. ## Features ## * Display log messages in a table view * Display an icon for each log level (removed) * Separate message structure from message content * Search in messages (removed, TBD) * via regular expressions * use match case option * reuse search history * Auto scrolling feature with various options * disabled * scroll to the bottom when a new message is added * scroll to the bottom when a new message is added unless the user scrolled up ## Usage ## In its initial implementation only CMake tool is considered. To use the library in your project, you have: 1. Add the library as a submodule (or any kind of folder in your machine) ```bash git submodule add https://github.com/arsdever/qspdlog.git ``` 2. Add the library to your CMake project ```cmake add_subdirectory(qspdlog) ``` 3. Add the library to your target ```cmake target_link_libraries(${PROJECT_NAME} qspdlog::lib) ``` 4. Include the interface header into the source file where you want to instantiate the widget ```cpp #include ``` 5. Instantiate the widget, register loggers and show the widget ```cpp QSpdLogWidget* widget = new QSpdLogWidget(); auto sink = widget->sink(); // register the sink to whatever logger you want widget->show(); ``` A complete example can be found in the [sample](sample) folder. > Note: In the sample it's considered that you already added the library as a submodule.