From d884a2fd95cd535aef2640e6a592762b3c484ed2 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 12 Jan 2013 09:49:04 +0200 Subject: merged with miranda_ng main repo --- log.cpp | 78 +++++++++++++++++++++++++++++------------------------------------ 1 file changed, 35 insertions(+), 43 deletions(-) (limited to 'log.cpp') diff --git a/log.cpp b/log.cpp index 273d370..29f80a1 100755 --- a/log.cpp +++ b/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<