File indexing completed on 2024-04-28 15:39:06
0001 // SPDX-FileCopyrightText: 2022 Tobias Leupold <tl at stonemx dot de> 0002 // 0003 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 // Local includes 0006 #include "Logging.h" 0007 #include "debugMode.h" 0008 0009 #ifdef DEBUG_MODE 0010 // Enable all messages in debug mode 0011 Q_LOGGING_CATEGORY(KGeoTagLog, "KGeoTag") 0012 #else 0013 // Only enable warnings otherwise 0014 Q_LOGGING_CATEGORY(KGeoTagLog, "KGeoTag", QtWarningMsg) 0015 #endif