00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkLogger.h,v $ 00005 Language: C++ 00006 Date: $Date: 2005/11/05 03:49:12 $ 00007 Version: $Revision: 1.5 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __itkLogger_h 00019 #define __itkLogger_h 00020 00021 #if defined(_MSC_VER) 00022 //Warning about: identifier was truncated to '255' characters in the debug information (MVC6.0 Debug) 00023 #pragma warning( disable : 4786 ) 00024 // warning C4503: 'insert' : decorated name length exceeded, name was truncated 00025 #pragma warning ( disable : 4503 ) 00026 #endif 00027 00028 #include "itkMacro.h" 00029 #include "itkObject.h" 00030 #include "itkObjectFactory.h" 00031 #include "itkMultipleLogOutput.h" 00032 #include "itkRealTimeClock.h" 00033 #include "itkLoggerBase.h" 00034 00035 namespace itk 00036 { 00047 class ITKCommon_EXPORT Logger : public LoggerBase 00048 { 00049 public: 00050 typedef Logger Self; 00051 typedef LoggerBase Superclass; 00052 typedef SmartPointer<Self> Pointer; 00053 typedef SmartPointer<const Self> ConstPointer; 00054 00056 itkTypeMacro( Logger, Object ); 00057 00059 itkNewMacro( Self ); 00060 00061 protected: 00062 00064 Logger() {}; 00065 00067 virtual ~Logger() {}; 00068 00069 }; // class Logger 00070 00071 } // namespace itk 00072 00073 #endif // __itkLogger_h