added: prefix/namespace Winix:: when using winix logger
git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@449 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
parent
417e52a5a1
commit
ef16ae4ebd
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007-2013, Tomasz Sowa
|
||||
* Copyright (c) 2007-2014, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -409,9 +409,9 @@ bool Pattern::ReadFileFromDir(const std::wstring & dir, const wchar_t * name, st
|
|||
|
||||
#ifdef EZC_USE_WINIX_LOGGER
|
||||
if( include_level <= 1 )
|
||||
log << log3 << "Ezc: reading pattern: " << afile_name << logend;
|
||||
Winix::log << Winix::log3 << "Ezc: reading pattern: " << afile_name << Winix::logend;
|
||||
else
|
||||
log << log3 << " including pattern: " << afile_name << logend;
|
||||
Winix::log << Winix::log3 << " including pattern: " << afile_name << Winix::logend;
|
||||
#endif
|
||||
|
||||
ReadFile(file, result);
|
||||
|
@ -947,7 +947,7 @@ void Pattern::CreateTreeReadIncludeSkipAllowFlag(Item & item)
|
|||
if( include_level > include_level_max )
|
||||
{
|
||||
#ifdef EZC_USE_WINIX_LOGGER
|
||||
log << log1 << "Ezc: \"include\" directive has reached the maximum level" << logend;
|
||||
Winix::log << Winix::log1 << "Ezc: \"include\" directive has reached the maximum level" << Winix::logend;
|
||||
#endif
|
||||
|
||||
return;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007-2013, Tomasz Sowa
|
||||
* Copyright (c) 2007-2014, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -233,7 +233,7 @@ private:
|
|||
item.functions[f].fun_cache = 0;
|
||||
|
||||
#ifdef EZC_USE_WINIX_LOGGER
|
||||
log << log1 << "Ezc: unknown function: " << item.functions[f].name << logend;
|
||||
Winix::log << Winix::log1 << "Ezc: unknown function: " << item.functions[f].name << Winix::logend;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue