Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2011, 12:54:55 AM (13 years ago)
Author:
landauf
Message:

adjusted the rest of the code to the new output system, but some changes have to be reviewed.
all output is currently printed with debug level.
compiles again (posix console untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/core/LuaState.cc

    r8788 r8796  
    3636}
    3737#include <loki/ScopeGuard.h>
     38#include <boost/preprocessor/stringize.hpp>
    3839
    3940#include "util/Output.h"
     
    238239    void LuaState::luaLog(unsigned int level, const std::string& message)
    239240    {
    240         OutputHandler::getOutStream(level) << message << std::endl;
     241#pragma message(__FILE__ "("BOOST_PP_STRINGIZE(__LINE__)") : Warning: TODO: use correct level (and remove boost include)")
     242        orxout(debug_output, context::lua) << "luaLog (level: " << level << "): " << message << endl;
    241243    }
    242244
Note: See TracChangeset for help on using the changeset viewer.