got carried away with some debug logging infrastructure
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
App::App() {
|
||||
|
||||
utils::debugPrint(__FUNCTION__, __LINE__, "App constructor.");
|
||||
utils::debugPrint(__FUNCTION__, __LINE__, "App constructor.", utils::DebugLevel::Trace);
|
||||
|
||||
init();
|
||||
|
||||
@@ -13,7 +13,7 @@ App::App() {
|
||||
|
||||
void App::init() {
|
||||
|
||||
utils::debugPrint(__FUNCTION__, __LINE__, "Init app.");
|
||||
utils::debugPrint(__FUNCTION__, __LINE__, "Init app.", utils::DebugLevel::Trace);
|
||||
|
||||
window_ = new Window();
|
||||
|
||||
@@ -21,12 +21,11 @@ void App::init() {
|
||||
|
||||
int App::run() {
|
||||
|
||||
utils::debugPrint(__FUNCTION__, __LINE__, "Run app.");
|
||||
utils::debugPrint(__FUNCTION__, __LINE__, "Run app.", utils::DebugLevel::Trace);
|
||||
|
||||
bool quit = false;
|
||||
while (!quit) {
|
||||
// app loop for as long as the window is open
|
||||
// poll events here
|
||||
// other threads might be able to change quit to true to auto close
|
||||
|
||||
SDL_Event event;
|
||||
|
||||
Reference in New Issue
Block a user