Commit fa6a6559 by Philipp Adolf

Add logging categories

parent 84a2a0b5
......@@ -22,7 +22,8 @@ SOURCES += main.cpp\
camera.cpp \
subdivision.cpp \
vertex.cpp \
triangle.cpp
triangle.cpp \
logcategories.cpp
HEADERS += mainwindow.h \
mainwidget.h \
......@@ -31,7 +32,8 @@ HEADERS += mainwindow.h \
camera.h \
subdivision.h \
vertex.h \
triangle.h
triangle.h \
logcategories.cpp
FORMS +=
......
#include "logcategories.h"
Q_LOGGING_CATEGORY(log_subdiv, "subdiv")
Q_LOGGING_CATEGORY(log_mesh, "mesh")
#include <QLoggingCategory>
Q_DECLARE_LOGGING_CATEGORY(log_subdiv)
Q_DECLARE_LOGGING_CATEGORY(log_mesh)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment