File indexing completed on 2024-04-21 15:55:38

0001 /*****************************************************************************
0002 *   Copyright (C) 2007 by Thomas Braun (braun@physik.fu-berlin.de)           *
0003 *             (C) 2014-2017 by Michel Ludwig (michel.ludwig@kdemail.net)     *
0004 ******************************************************************************/
0005 
0006 /***************************************************************************
0007 *                                                                         *
0008 *   This program is free software; you can redistribute it and/or modify  *
0009 *   it under the terms of the GNU General Public License as published by  *
0010 *   the Free Software Foundation; either version 2 of the License, or     *
0011 *   (at your option) any later version.                                   *
0012 *                                                                         *
0013 ***************************************************************************/
0014 #ifndef KILEDEBUG_H
0015 #define KILEDEBUG_H
0016 
0017 #include <QLoggingCategory>
0018 
0019 Q_DECLARE_LOGGING_CATEGORY(LOG_KILE_MAIN)
0020 Q_DECLARE_LOGGING_CATEGORY(LOG_KILE_PARSER)
0021 Q_DECLARE_LOGGING_CATEGORY(LOG_KILE_CODECOMPLETION)
0022 
0023 #define KILE_DEBUG_MAIN qCDebug(LOG_KILE_MAIN)
0024 #define KILE_WARNING_MAIN qCWarning(LOG_KILE_MAIN)
0025 #define KILE_DEBUG_CODECOMPLETION qCDebug(LOG_KILE_CODECOMPLETION)
0026 
0027 #endif