#include <OVR_Log.h>
Public Types | |
enum | { MaxLogBufferMessageSize = 2048 } |
Public Member Functions | |
unsigned | GetLoggingMask () const |
Log (unsigned logMask=LogMask_Debug) | |
void | LogMessage (LogMessageType messageType, const char *fmt,...) OVR_LOG_VAARG_ATTRIBUTE(3 |
virtual void | LogMessageVarg (LogMessageType messageType, const char *fmt, va_list argList) |
void | SetLoggingMask (unsigned logMask) |
virtual | ~Log () |
Static Public Member Functions | |
static Log * | ConfigureDefaultLog (unsigned logMask=LogMask_Debug) |
static void | DefaultLogOutput (const char *textBuffer, bool debug) |
void static void | FormatLog (char *buffer, unsigned bufferSize, LogMessageType messageType, const char *fmt, va_list argList) |
static Log * | GetDefaultLog () |
static Log * | GetGlobalLog () |
static bool | IsDebugMessage (LogMessageType messageType) |
static void | SetGlobalLog (Log *log) |
Private Attributes | |
unsigned | LoggingMask |
Friends | |
class | System |
OVR::Log::Log | ( | unsigned | logMask = LogMask_Debug | ) | [inline] |
OVR::Log::~Log | ( | ) | [virtual] |
Definition at line 35 of file OVR_Log.cpp.
static Log* OVR::Log::ConfigureDefaultLog | ( | unsigned | logMask = LogMask_Debug | ) | [inline, static] |
void OVR::Log::DefaultLogOutput | ( | const char * | textBuffer, |
bool | debug | ||
) | [static] |
Definition at line 95 of file OVR_Log.cpp.
void OVR::Log::FormatLog | ( | char * | buffer, |
unsigned | bufferSize, | ||
LogMessageType | messageType, | ||
const char * | fmt, | ||
va_list | argList | ||
) | [static] |
Definition at line 68 of file OVR_Log.cpp.
Log * OVR::Log::GetDefaultLog | ( | ) | [static] |
Definition at line 141 of file OVR_Log.cpp.
Log * OVR::Log::GetGlobalLog | ( | ) | [static] |
Definition at line 132 of file OVR_Log.cpp.
unsigned OVR::Log::GetLoggingMask | ( | ) | const [inline] |
static bool OVR::Log::IsDebugMessage | ( | LogMessageType | messageType | ) | [inline, static] |
void OVR::Log::LogMessage | ( | LogMessageType | messageType, |
const char * | fmt, | ||
... | |||
) |
Definition at line 59 of file OVR_Log.cpp.
void OVR::Log::LogMessageVarg | ( | LogMessageType | messageType, |
const char * | fmt, | ||
va_list | argList | ||
) | [virtual] |
Definition at line 45 of file OVR_Log.cpp.
void OVR::Log::SetGlobalLog | ( | Log * | log | ) | [static] |
Definition at line 127 of file OVR_Log.cpp.
void OVR::Log::SetLoggingMask | ( | unsigned | logMask | ) | [inline] |
unsigned OVR::Log::LoggingMask [private] |