Add categorized logging to MessageEventModel

This commit is contained in:
Tobias Fella
2023-05-06 17:53:01 +02:00
parent a89e04b92f
commit 4a29e0d0e1
3 changed files with 13 additions and 2 deletions

View File

@@ -54,6 +54,13 @@ add_library(neochat STATIC
events/stickerevent.cpp
)
ecm_qt_declare_logging_category(neochat
HEADER "messageeventmodel_logging.h"
IDENTIFIER "MessageEvent"
CATEGORY_NAME "org.kde.neochat.messageeventmodel"
DEFAULT_SEVERITY Info
)
add_executable(neochat-app
main.cpp
res.qrc