|
ShishGL
1.0
A simple modular cross-platform graphics library
|
|
Go to the documentation of this file.
2 #ifndef SHISHGL_LOG_SYSTEM_HPP
3 #define SHISHGL_LOG_SYSTEM_HPP
27 __attribute__((format(printf, 1, 2)));
30 __attribute__((format(printf, 1, 2)));
33 __attribute__((format(printf, 1, 2)));
52 const
char* format, va_list args);
55 static FILE* LOG_FILE;
57 static constexpr
size_t BUFFER_SIZE = 4096;
61 char buffer[BUFFER_SIZE];
69 static Message& LastMessage();
72 static Timer& RunTimer();
79 #endif //SHISHGL_LOG_SYSTEM_HPP
@ LOG_OK
Definition: LogSystem.hpp:16
Definition: CoreApplication.hpp:15
static LogStatus static LogStatus static LogStatus static void flush()
Definition: LogSystem.cpp:148
static LogStatus static LogStatus printWarning(const char *format,...) __attribute__((format(printf
Definition: LogSystem.cpp:81
@ LOG_CLOSE_ERR
Definition: LogSystem.hpp:19
Definition: LogSystem.hpp:12
@ LOG_ALREADY_OPENED
Definition: LogSystem.hpp:18
Definition: CoreApplication.hpp:10
@ LOG_FILE_BROKEN
Definition: LogSystem.hpp:20
@ LOG_PRINT_ERR
Definition: LogSystem.hpp:21
@ LOG_OPEN_ERR
Definition: LogSystem.hpp:17
Clock::duration TimeDelta
Definition: Time.hpp:11
static LogStatus printLog(const char *format,...) __attribute__((format(printf
Definition: LogSystem.cpp:65
static LogStatus static LogStatus static LogStatus printError(const char *format,...) __attribute__((format(printf
Definition: LogSystem.cpp:97
LogStatus
Definition: LogSystem.hpp:15