diff --git a/src/pattern.cpp b/src/pattern.cpp index 0ca6daa..c949a60 100755 --- a/src/pattern.cpp +++ b/src/pattern.cpp @@ -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; diff --git a/src/pattern.h b/src/pattern.h index 3574496..f3917e7 100755 --- a/src/pattern.h +++ b/src/pattern.h @@ -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 } }