feat(logs): record every operation and event in an application journal
The app kept no durable trace of what it ran: LogManager existed but was never instantiated, so only a handful of console-only qCInfo calls survived a session. Wire it up as a process-wide journal that captures each command's raw output next to UI, search, plugin and update events, and funnel every Qt log message into it, so a failure can still be diagnosed after the fact. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
7 files changed
+335
-130
No files matched your search
+2
-2
@@ -185,9 +185,9 @@ add_executable(app-core-test tests/app-core.test.cpp
|
||||
src/app-core.cpp src/workers.cpp src/pacman-manager.cpp
|
||||
src/plugin-manager.cpp src/history-manager.cpp src/update-manager.cpp
|
||||
src/plugin-shop.cpp
|
||||
src/app-logging.cpp
|
||||
src/app-logging.cpp src/log-manager.cpp
|
||||
include/app-core.h include/workers.h include/update-manager.h
|
||||
include/plugin-shop.h)
|
||||
include/plugin-shop.h include/log-manager.h)
|
||||
target_include_directories(app-core-test PRIVATE include)
|
||||
target_link_libraries(app-core-test PRIVATE Qt6::Core Qt6::Network)
|
||||
target_compile_definitions(app-core-test PRIVATE
|
||||
|
||||
Reference in new issue
Block a user