Commit 1360c1f0 authored by Méven Car's avatar Méven Car
Browse files

Add a logging category to smb ioslave

Reviewers: #frameworks, mlaurent

Reviewed By: mlaurent

Subscribers: mlaurent, kde-frameworks-devel, kfm-devel

Tags: #dolphin, #frameworks

Differential Revision: https://phabricator.kde.org/D26420
parent 0354fd11
......@@ -11,3 +11,4 @@ log_kio_sftp.trace kioslave (sftp trace) IDENTIFIER [KIO_SFTP_TRACE_LOG]
log_kio_archive kioslave (archive) IDENTIFIER [KIO_ARCHIVE_LOG]
log_kio_man kioslave (man) IDENTIFIER [KIO_MAN_LOG]
log_kio_recentlyused kioslave (recentlyused) IDENTIFIER [KIO_RECENTLYUSED_LOG]
log_kio_smb kioslave (smb aka samba) IDENTIFIER [KIO_SMB_LOG]
......@@ -21,6 +21,11 @@ set(kio_smb_PART_SRCS
kio_smb_internal.cpp
kio_smb_mount.cpp )
ecm_qt_declare_logging_category(kio_smb_PART_SRCS
HEADER smb-logsettings.h
IDENTIFIER KIO_SMB_LOG
CATEGORY_NAME log_kio_smb)
include_directories(${SAMBA_INCLUDE_DIR})
add_library(kio_smb MODULE ${kio_smb_PART_SRCS})
......
......@@ -33,7 +33,7 @@
#include <QCoreApplication>
#include <QVersionNumber>
Q_LOGGING_CATEGORY(KIO_SMB, "kio_smb")
#include "smb-logsettings.h"
// Pseudo plugin class to embed meta data
class KIOPluginForMetaData : public QObject
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment