History

logging groups for library/shared and interface

Seth Alves committed 11 years ago

Commit fb607e21 parent cd5245d30 files · +255 −172Browse files

Showing the changes to interface/src/main.cpp (1 of 30 files). Show all

Unified · Split

interface/src/main.cpp+4−3
@@ -19,6 +19,7 @@ · 18 unmodified lines
1919 #include "AddressManager.h"
2020 #include "Application.h"
2121 #include "devices/OculusManager.h"
22+#include "InterfaceLogging.h"
2223
2324 #ifdef Q_OS_WIN
2425 static BOOL CALLBACK enumWindowsCallback(HWND hWnd, LPARAM lParam) {
@@ -91,7 +92,7 @@ int main(int argc, const char* argv[]) { · 66 unmodified lines
9192 if (clockSkewOption) {
9293 int clockSkew = atoi(clockSkewOption);
9394 usecTimestampNowForceClockSkew(clockSkew);
94− qDebug("clockSkewOption=%s clockSkew=%d", clockSkewOption, clockSkew);
95+ qCDebug(interface, "clockSkewOption=%s clockSkew=%d", clockSkewOption, clockSkew);
9596 }
9697 // Oculus initialization MUST PRECEDE OpenGL context creation.
9798 // The nature of the Application constructor means this has to be either here,
@@ -107,7 +108,7 @@ int main(int argc, const char* argv[]) { · 9 unmodified lines
107108 translator.load("interface_en");
108109 app.installTranslator(&translator);
109110
110− qDebug( "Created QT Application.");
111+ qCDebug(interface, "Created QT Application.");
111112 exitCode = app.exec();
112113 }
113114
@@ -115,6 +116,6 @@ int main(int argc, const char* argv[]) { · 1 unmodified line
115116 ReleaseMutex(mutex);
116117 #endif
117118
118− qDebug("Normal exit.");
119+ qCDebug(interface, "Normal exit.");
119120 return exitCode;
120121 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t