From ef16ae4ebdec06c3d6f6312ba8e481575af09984 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Wed, 12 Feb 2014 16:26:48 +0000 Subject: [PATCH] added: prefix/namespace Winix:: when using winix logger git-svn-id: svn://ttmath.org/publicrep/ezc/trunk@449 e52654a7-88a9-db11-a3e9-0013d4bc506e --- src/pattern.cpp | 8 ++++---- src/pattern.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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 } }