The Battle for Wesnoth  1.19.0-dev
log.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2024
3  by Mark de Wever <koraq@xs4all.nl>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 /**
17  * @file
18  * Define the loggers for the gui toolkit.
19  */
20 
21 #define GETTEXT_DOMAIN "wesnoth-lib"
22 
23 #include "gui/core/log.hpp"
24 
25 namespace gui2
26 {
27 
28 lg::log_domain log_gui_draw("gui/draw");
29 lg::log_domain log_gui_event("gui/event");
30 lg::log_domain log_gui_general("gui/general");
31 lg::log_domain log_gui_iterator("gui/iterator");
32 lg::log_domain log_gui_lifetime("gui/lifetime");
33 lg::log_domain log_gui_layout("gui/layout");
34 lg::log_domain log_gui_parse("gui/parse");
35 
36 } // namespace gui2
Define the common log macros for the gui toolkit.
Generic file dialog.
lg::log_domain log_gui_draw("gui/draw")
Definition: log.hpp:28
lg::log_domain log_gui_general("gui/general")
Definition: log.hpp:40
lg::log_domain log_gui_parse("gui/parse")
Definition: log.hpp:65
lg::log_domain log_gui_event("gui/event")
Definition: log.hpp:34
lg::log_domain log_gui_layout("gui/layout")
Definition: log.hpp:54
lg::log_domain log_gui_lifetime("gui/lifetime")
Definition: log.hpp:60
lg::log_domain log_gui_iterator("gui/iterator")
Definition: log.hpp:46