Author: sapient
Date: Tue Mar 24 23:09:13 2009
New Revision: 34108

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34108&view=rev
Log:
make use of lua logger instead of std:cerr

Modified:
    trunk/src/scripting/lua.cpp

Modified: trunk/src/scripting/lua.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/scripting/lua.cpp?rev=34108&r1=34107&r2=34108&view=diff
==============================================================================
--- trunk/src/scripting/lua.cpp (original)
+++ trunk/src/scripting/lua.cpp Tue Mar 24 23:09:13 2009
@@ -23,8 +23,9 @@
  */
 
 #ifdef DISABLE_LUA
+#include "log.hpp"
 #include "scripting/lua.hpp"
-LuaKernel::LuaKernel() {std::cerr <<"NOTE: Lua support disabled in this 
build";}
+LuaKernel::LuaKernel() {LOG_STREAM(error, lua) << "Lua support disabled in 
this build";}
 LuaKernel::~LuaKernel() {}
 void LuaKernel::run_event(vconfig const &cfg, game_events::queued_event const 
&ev,
        game_events::event_handler *handler, unit_map *units) {}


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to