71 Log(
const std::string& filename =
"log.txt",
72 int stripFromStackBottom = 0);
84 void section(
const std::string& s);
91 void __cdecl
printf(
const char*
fmt, ...) G3D_CHECK_PRINTF_METHOD_ARGS;
93 void __cdecl
vprintf(
const char*, va_list argPtr) G3D_CHECK_VPRINTF_METHOD_ARGS;
95 void __cdecl
lazyvprintf(
const char*, va_list argPtr) G3D_CHECK_VPRINTF_METHOD_ARGS;
void logLazyPrintf(const char *fmt,...)
Definition: Log.cpp:33
void __cdecl lazyvprintf(const char *, va_list argPtr) G3D_CHECK_VPRINTF_METHOD_ARGS
Definition: Log.cpp:133
FILE * getFile() const
Definition: Log.cpp:95
static std::string getCommonLogFilename()
Definition: Log.cpp:108
virtual ~Log()
Definition: Log.cpp:80
void print(const std::string &s)
Definition: Log.cpp:138
void __cdecl printf(const char *fmt,...) G3D_CHECK_PRINTF_METHOD_ARGS
Definition: Log.cpp:119
void section(const std::string &s)
Definition: Log.cpp:113
int stripFromStackBottom
Definition: Log.h:61
FILE * logFile
Definition: Log.h:54
Log(const std::string &filename="log.txt", int stripFromStackBottom=0)
Definition: Log.cpp:42
void logPrintf(const char *fmt,...)
Definition: Log.cpp:25
static Log * commonLog
Definition: Log.h:58
#define const
Definition: zconf.h:217
static Log * common()
Definition: Log.cpp:100
void println(const std::string &s)
Definition: Log.cpp:144
std::string filename
Definition: Log.h:56
void __cdecl vprintf(const char *, va_list argPtr) G3D_CHECK_VPRINTF_METHOD_ARGS
Definition: Log.cpp:127