add: spdlog and basic client code.
This commit is contained in:
17
Util/Util.h
Normal file
17
Util/Util.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef UTIL_H
|
||||
#define UTIL_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class Util : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Util();
|
||||
|
||||
public:
|
||||
static void InitLogger(const QString& logPath, const QString& mark);
|
||||
static void ConsoleMsgHander(QtMsgType type, const QMessageLogContext& context, const QString& msg);
|
||||
};
|
||||
|
||||
#endif // UTIL_H
|
||||
Reference in New Issue
Block a user