Give log channels fancier names

Improve LOG_CHANNEL macro to accept custom name.
This commit is contained in:
Nekotekina 2020-02-01 10:43:43 +03:00
parent ec80932c21
commit 3c0bd821c8
33 changed files with 46 additions and 34 deletions

View file

@ -55,7 +55,7 @@
#include "ui_main_window.h"
LOG_CHANNEL(gui_log);
LOG_CHANNEL(gui_log, "GUI");
inline std::string sstr(const QString& _in) { return _in.toStdString(); }