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

Annotation of /trunk/gr2lib_cpp/GrannyAPILogger.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12 - (hide annotations) (download)
Sat Jul 31 09:33:11 2010 UTC (10 years ago) by william
File MIME type: text/plain
File size: 567 byte(s)
Added support to write Granny2 Log out to a file, as well as fully implement the logging callback

1 william 7 #ifndef _GRANNYAPI_LOGGER_H
2     #define _GRANNYAPI_LOGGER_H
3     #include "granny.h"
4 william 12 #include "VSDebugOutput.h"
5 william 7 #include <stdio.h>
6     #include <iostream>
7     #include <stdlib.h>
8     #include <assert.h>
9     #include <string>
10     #include <sstream>
11     using namespace std;
12 william 6
13     class GrannyAPILogger
14     {
15     private:
16     public:
17     GrannyAPILogger(void);
18 william 12
19     void LogMessage(const char* Message);
20     void LogDebugMessageOnly(const char* Message);
21    
22     void SetLogFileName(const char* filename);
23     void SetLogFileName(const char* logpath,const char* filename);
24    
25 william 6 };
26 william 7 #endif /* _GRANNYAPI_LOGGER_H */

  ViewVC Help
Powered by ViewVC 1.1.22