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

Archive Ioslave: use ecm_qt_declare_logging_category

This allows kio_archive_log to work with kdebugsettings.
Previously the setting for the ioslave did not work and logging level
was the default: Debug.
It is now Info.
parent 1f863f3d
......@@ -63,6 +63,11 @@ set_target_properties(kioarchive PROPERTIES
EXPORT_NAME KioArchive
)
ecm_qt_declare_logging_category(kioarchive
HEADER kio_archive_debug.h
IDENTIFIER KIO_ARCHIVE_LOG
CATEGORY_NAME log_kio_archive)
install(TARGETS kioarchive EXPORT KioArchiveTargets LIBRARY NAMELINK_SKIP ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
############### Archive KIOslave ######################
......
/* This file is part of the KDE project
Copyright (C) 2014 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "kio_archive_debug.h"
Q_LOGGING_CATEGORY(KIO_ARCHIVE_LOG, "log_kio_archive")
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