29 Logger(
char const* file,
char const*
function,
int line,
44 LISTEN_FOR_NOTHING = 0x00000000,
45 LISTEN_FOR_ASSERTION = 0x00000001,
46 LISTEN_FOR_ERROR = 0x00000002,
47 LISTEN_FOR_WARNING = 0x00000004,
48 LISTEN_FOR_INFORMATION = 0x00000008,
49 LISTEN_FOR_ALL = 0xFFFFFFFF
71 static void Subscribe(
Listener* listener);
72 static void Unsubscribe(
Listener* listener);
84 #if !defined(GTE_NO_LOGGER) 86 #define LogAssert(condition, message) \ 89 gte::Logger(__FILE__, __FUNCTION__, __LINE__, message).Assertion(); \ 92 #define LogError(message) \ 93 gte::Logger(__FILE__, __FUNCTION__, __LINE__, message).Error() 95 #define LogWarning(message) \ 96 gte::Logger(__FILE__, __FUNCTION__, __LINE__, message).Warning() 98 #define LogInformation(message) \ 99 gte::Logger(__FILE__, __FUNCTION__, __LINE__, message).Information() 104 #define LogAssert(condition, message) 105 #define LogError(message) 106 #define LogWarning(message) 107 #define LogInformation(message)
static std::mutex msMutex
GLsizei const GLchar *const * string
GLuint GLsizei const GLchar * message
static std::set< Listener * > msListeners