From 913374a19774643fb97455d0a294a26a93019557 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 12 Jan 2013 09:08:03 +0200 Subject: merged with miranda_ng main repo --- src/log.cpp | 78 +++++++++++++++++++++++++++---------------------------------- 1 file changed, 35 insertions(+), 43 deletions(-) (limited to 'src/log.cpp') diff --git a/src/log.cpp b/src/log.cpp index 273d370..29f80a1 100755 --- a/src/log.cpp +++ b/src/log.cpp @@ -19,71 +19,63 @@ logtofile& logtofile::operator<<(TCHAR *buf) { - extern bool bDebugLog; - if(bDebugLog) - { - log_mutex.lock(); - log.open(toUTF8(path).c_str(), std::ios::app |std::ios::ate); - log<