UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::debug Namespace Reference

Classes

class  ProfileSection
 
struct  SectionData
 

Enumerations

enum  LogLevel
 

Functions

const char * ConvertLogToString (LogLevel level)
 
void RawLog (LogLevel, const std::string &owner, const std::string &message)
 
void InsertToStream (std::stringstream &ss)
 
template<typename T , typename... Ts>
void InsertToStream (std::stringstream &ss, const T &t, Ts &&...ts)
 
template<typename... Ts>
void Log (LogLevel level, const std::string &owner, Ts &&...ts)
 
template<typename... Ts>
void DebugLog (LogLevel level, const std::string &owner, Ts &&...ts)
 
template<typename... Ts>
void DebugConditionalLog (bool assertion, LogLevel level, const std::string &owner, Ts &&...ts)
 If assertion is false, run the DebugLog command. More...
 

Enumeration Type Documentation

Function Documentation

const char* ugdk::debug::ConvertLogToString ( LogLevel  level)
inline
template<typename... Ts>
void ugdk::debug::DebugConditionalLog ( bool  assertion,
LogLevel  level,
const std::string &  owner,
Ts &&...  ts 
)
inline

If assertion is false, run the DebugLog command.

This function is empty when NDEBUG is defined.

template<typename... Ts>
void ugdk::debug::DebugLog ( LogLevel  level,
const std::string &  owner,
Ts &&...  ts 
)
inline
void ugdk::debug::InsertToStream ( std::stringstream &  ss)
inline
template<typename T , typename... Ts>
void ugdk::debug::InsertToStream ( std::stringstream &  ss,
const T &  t,
Ts &&...  ts 
)
inline
template<typename... Ts>
void ugdk::debug::Log ( LogLevel  level,
const std::string &  owner,
Ts &&...  ts 
)
void ugdk::debug::RawLog ( LogLevel  ,
const std::string &  owner,
const std::string &  message 
)