CTraceLog Class Reference#include <TraceLog.h>
Inheritance diagram for CTraceLog:
![]()
Collaboration diagram for CTraceLog:
![]()
Detailed DescriptionDefinition at line 48 of file TraceLog.h. Constructor & Destructor Documentation
Member Function Documentation
Implements CErrorHandler::CErrorHandler::CErrorLog. Definition at line 87 of file TraceLog.cpp. 00088 { 00089 WriteLog(rError); 00090 }
Definition at line 57 of file TraceLog.cpp. 00058 { 00059 try 00060 { 00061 #ifdef _MSC_VER 00062 //Check size is OK 00063 if (rMessage.size()<500) 00064 { 00065 //Write to log 00066 ATLTRACE("%s\n",rMessage.c_str()); 00067 } 00068 else 00069 { 00070 //Copy it 00071 std::string sTmp; 00072 sTmp=rMessage.substr(0,499); 00073 00074 //Write to log 00075 ATLTRACE("%s\n",sTmp.c_str()); 00076 } 00077 00078 #endif 00079 return true; 00080 } 00081 catch (...) 00082 { 00083 return false; 00084 } 00085 }
Implements CErrorHandler::CErrorHandler::CErrorLog. Definition at line 92 of file TraceLog.cpp. 00093 { 00094 WriteLog(rMessage); 00095 }
The documentation for this class was generated from the following files: |