/[Sims3RigEditor]/trunk/gr2lib_cpp/GrannyAPILogger.cpp
ViewVC logotype

Diff of /trunk/gr2lib_cpp/GrannyAPILogger.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13 by william, Sat Jul 31 09:39:55 2010 UTC revision 55 by william, Thu Aug 12 08:37:47 2010 UTC
# Line 1  Line 1 
1    #define _CRT_SECURE_NO_WARNINGS
2  #include "StdAfx.h"  #include "StdAfx.h"
3  #include "GrannyAPILogger.h"  #include "GrannyAPILogger.h"
4  #include "guicon.h"  #include "guicon.h"
# Line 65  void __cdecl Callback(granny_log_message Line 66  void __cdecl Callback(granny_log_message
66          char const* TypeString = GrannyGetLogMessageTypeString(Type);          char const* TypeString = GrannyGetLogMessageTypeString(Type);
67          char const* OriginString = GrannyGetLogMessageOriginString(Origin);          char const* OriginString = GrannyGetLogMessageOriginString(Origin);
68    
69            void* data = UserData;
70            if(data == NULL){}
71          printf("\n\n\tGranny2 API Logger: Logging Granny2 Message ->\n\t\tMessage Log Type: %s\n\t\tMessage Log Origin: %s\n\t\tMessage: %s",          printf("\n\n\tGranny2 API Logger: Logging Granny2 Message ->\n\t\tMessage Log Type: %s\n\t\tMessage Log Origin: %s\n\t\tMessage: %s",
72                  TypeString,                  TypeString,
73                  OriginString,                  OriginString,

Legend:
Removed from v.13  
changed lines
  Added in v.55

  ViewVC Help
Powered by ViewVC 1.1.22