[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src log.cpp log.hpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src log.cpp log.hpp |
Date: |
Sat, 18 Sep 2004 17:29:49 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/09/18 21:23:24
Modified files:
src : log.cpp log.hpp
Log message:
Added a few debug domain
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/log.cpp.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/log.hpp.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
Patches:
Index: wesnoth/src/log.cpp
diff -u wesnoth/src/log.cpp:1.13 wesnoth/src/log.cpp:1.14
--- wesnoth/src/log.cpp:1.13 Sat Sep 18 18:29:04 2004
+++ wesnoth/src/log.cpp Sat Sep 18 21:23:24 2004
@@ -1,4 +1,4 @@
-/* $Id: log.cpp,v 1.13 2004/09/18 18:29:04 silene Exp $ */
+/* $Id: log.cpp,v 1.14 2004/09/18 21:23:24 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -44,7 +44,7 @@
namespace lg {
logger err("error", 0), warn("warning", 1), info("info", 2);
-log_domain general("general");
+log_domain general("general"), ai("ai"), config("config"), display("display"),
network("network");
log_domain::log_domain(char const *name) : domain_(log_domains.size())
{
Index: wesnoth/src/log.hpp
diff -u wesnoth/src/log.hpp:1.14 wesnoth/src/log.hpp:1.15
--- wesnoth/src/log.hpp:1.14 Sat Sep 18 18:29:04 2004
+++ wesnoth/src/log.hpp Sat Sep 18 21:23:24 2004
@@ -1,4 +1,4 @@
-/* $Id: log.hpp,v 1.14 2004/09/18 18:29:04 silene Exp $ */
+/* $Id: log.hpp,v 1.15 2004/09/18 21:23:24 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -38,7 +38,7 @@
};
extern logger err, warn, info;
-extern log_domain general;
+extern log_domain general, ai, config, display, network;
class scope_logger
{