Rev | Line | |
---|
[964] | 1 | /*
|
---|
| 2 | Copyright (C) 2005-2006 Feeling Software Inc.
|
---|
| 3 | MIT License: http://www.opensource.org/licenses/mit-license.php
|
---|
| 4 | */
|
---|
| 5 | |
---|
| 6 | #ifndef _FU_LOG_FILE_H_ |
---|
| 7 | #define _FU_LOG_FILE_H_ |
---|
| 8 | |
---|
| 9 | class FUFile; |
---|
| 10 | |
---|
| 11 | class FCOLLADA_EXPORT FULogFile |
---|
| 12 | { |
---|
| 13 | private: |
---|
| 14 | FUFile* file; |
---|
| 15 | |
---|
| 16 | public: |
---|
| 17 | FULogFile(const char* filename); |
---|
| 18 | ~FULogFile(); |
---|
| 19 | |
---|
| 20 | void WriteLine(const char* filename, uint32 linenum, const char* message, ...); |
---|
| 21 | void WriteLine(const char* message, ...); |
---|
| 22 | void WriteLineV(const char* message, va_list& vars); |
---|
| 23 | |
---|
| 24 | void Flush(); |
---|
| 25 | }; |
---|
| 26 | |
---|
| 27 | #endif // _FU_LOG_FILE_H_ |
---|
Note: See
TracBrowser
for help on using the repository browser.