Salome HOME
CCAR: remove tabs in python files
[modules/kernel.git] / src / Logger / SALOME_Logger_Server.cxx
index 507118237b0205ba5ea59d5ba097651437c307c7..ee45ee1702f9ce1ebf9eb7f3a2c9232b4d5cc6a7 100644 (file)
@@ -1,22 +1,39 @@
-//  SALOME Logger : CORBA server managing trace output
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+//
+//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
 //
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
 //
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+//  SALOME Logger : CORBA server managing trace output
 //  File   : SALOME_Logger_Server.cxx
 //  Author : Vasily Rusyaev
 //  Module : SALOME
-
+//
 #include <iostream>
 #include "SALOME_Logger_Server.hxx"
 #include <SALOMEconfig.h>
 #include <sys/types.h>
-#ifndef __WIN32__
+#ifndef WIN32
 # include <unistd.h>
 #endif
 
-#ifdef WNT
+#ifdef WIN32
 #include <omnithread/pthread_nt.h>
 #endif
 
@@ -52,7 +69,7 @@ void Logger::putMessage(const char* message)
   myLock.lock();
   if (m_putIntoFile)
 
-       m_outputFile << message << std::flush;
+        m_outputFile << message << std::flush;
   else
     std::cout << message;
   myLock.unlock();