{"id":14982646,"url":"https://github.com/arsdever/qspdlog","last_synced_at":"2025-10-29T16:30:48.201Z","repository":{"id":65277087,"uuid":"578798859","full_name":"arsdever/qspdlog","owner":"arsdever","description":"A simple Qt based widget for visualizing spdlog output.","archived":false,"fork":false,"pushed_at":"2024-05-28T22:33:50.000Z","size":538,"stargazers_count":51,"open_issues_count":3,"forks_count":10,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-29T07:42:03.075Z","etag":null,"topics":["cpp","logging","qt","qt6","spdlog","widget"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arsdever.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"arsdever","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/arsdever"]}},"created_at":"2022-12-15T22:55:35.000Z","updated_at":"2024-09-14T18:24:20.000Z","dependencies_parsed_at":"2024-09-29T06:16:02.478Z","dependency_job_id":null,"html_url":"https://github.com/arsdever/qspdlog","commit_stats":{"total_commits":85,"total_committers":2,"mean_commits":42.5,"dds":0.04705882352941182,"last_synced_commit":"7db53413c4b3d16a52b1c22f281a8c39e2148851"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fqspdlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fqspdlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fqspdlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fqspdlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arsdever","download_url":"https://codeload.github.com/arsdever/qspdlog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219857515,"owners_count":16556061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","logging","qt","qt6","spdlog","widget"],"created_at":"2024-09-24T14:05:48.145Z","updated_at":"2025-10-29T16:30:42.888Z","avatar_url":"https://github.com/arsdever.png","language":"C++","readme":"# QSpdLog\n\n![QSpdLog](docs/images/demo_screenshot.png)\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/arsdever/qspdlog/build_linux.yml?label=linux\u0026logo=github)](https://github.com/arsdever/qspdlog/actions/workflows/main_ci.yml?query=branch%3Amain+)\n[![Coverage](https://img.shields.io/codecov/c/gh/arsdever/qspdlog?flag=uitests\u0026logo=codecov\u0026token=7d1a74f3-709e-4b2b-9b6f-c2ed5c36d7a4)](https://app.codecov.io/gh/arsdever/qspdlog/commit/4cb624e6fe8d0abcf810ba3b2ea9db69755c9ffd/tree)\n\nThis repository contains the source code of a library, which provides a Qt widget for displaying log messages coming from the [spdlog](https://github.com/gabime/spdlog) library.\n\n## Features\n\n* Display log messages in a tree view\n* Display an icon for each log level\n* Separate message structure from message content\n* Search in messages\n  * via regular expressions\n  * use match case option\n  * reuse search history\n* Auto scrolling feature with various options\n  * disabled\n  * scroll to the bottom when a new message is added\n  * scroll to the bottom when a new message is added unless the user scrolled up\n* **many more to come**\n* **[request or suggest new ones](https://github.com/arsdever/qspdlog/issues/new/choose)**\n\n## Usage\n\nIn its initial implementation only CMake tool is considered. To use the library in your project, you have:\n\n1. Add the library as a submodule (or any kind of folder in your machine)\n\n   ```bash\n   git submodule add https://github.com/arsdever/qspdlog.git\n   ```\n\n2. Add the library to your CMake project\n\n   ```cmake\n   add_subdirectory(qspdlog)\n   ```\n\n3. Add the library to your target\n\n   ```cmake\n   target_link_libraries(${PROJECT_NAME} qspdlog::lib)\n   ```\n\n4. Include the interface header into the source file where you want to instantiate the widget\n\n   ```cpp\n   #include \u003cqspdlog/qspdlog.h\u003e\n   ```\n\n5. Instantiate the widget, register loggers and show the widget\n\n   ```cpp\n   QSpdLogWidget* widget = new QSpdLogWidget();\n\n   auto sink = widget-\u003esink();\n   // register the sink to whatever logger you want\n\n   widget-\u003eshow();\n   ```\n\nA complete example can be found in the [sample](sample) folder.\n\n\u003e Note: In the sample it's considered that you already added the library as a submodule.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n* [spdlog](https://github.com/gabime/spdlog) for the logging library\n* [Qt](https://www.qt.io/) for the GUI framework\n\n## Projects using QSpdLog\n\n* [gamify](https://github.com/arsdever/gamify)\n","funding_links":["https://patreon.com/arsdever","https://www.buymeacoffee.com/arsdever"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsdever%2Fqspdlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farsdever%2Fqspdlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsdever%2Fqspdlog/lists"}