Commit 2d9b118e authored by hybrid's avatar hybrid

Reorder methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2561 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 920e2cfa
......@@ -169,25 +169,24 @@ namespace os
Logger->log(message, ll);
}
void Printer::log(const c8* message, const c8* hint, ELOG_LEVEL ll)
void Printer::log(const wchar_t* message, ELOG_LEVEL ll)
{
if (Logger)
Logger->log(message, hint, ll);
Logger->log(message, ll);
}
void Printer::log(const c8* message, const core::string<c16>& hint, ELOG_LEVEL ll)
void Printer::log(const c8* message, const c8* hint, ELOG_LEVEL ll)
{
if (Logger)
Logger->log(message, hint.c_str(), ll);
Logger->log(message, hint, ll);
}
void Printer::log(const wchar_t* message, ELOG_LEVEL ll)
void Printer::log(const c8* message, const core::string<c16>& hint, ELOG_LEVEL ll)
{
if (Logger)
Logger->log(message, ll);
Logger->log(message, hint.c_str(), ll);
}
// our Randomizer is not really os specific, so we
// code one for all, which should work on every platform the same,
// which is desireable.
......
......@@ -34,9 +34,9 @@ namespace os
// prints out a string to the console out stdout or debug log or whatever
static void print(const c8* message);
static void log(const c8* message, ELOG_LEVEL ll = ELL_INFORMATION);
static void log(const wchar_t* message, ELOG_LEVEL ll = ELL_INFORMATION);
static void log(const c8* message, const c8* hint, ELOG_LEVEL ll = ELL_INFORMATION);
static void log(const c8* message, const core::string<c16>& hint, ELOG_LEVEL ll = ELL_INFORMATION);
static void log(const wchar_t* message, ELOG_LEVEL ll = ELL_INFORMATION);
static ILogger* Logger;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment