Updated Readme and some other fixes.
This commit is contained in:
+13
-4
@@ -1,7 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// easylogging includes
|
||||
#define ELPP_THREAD_SAFE
|
||||
#define ELPP_QT_LOGGING
|
||||
#define ELPP_NO_DEFAULT_LOG_FILE
|
||||
#include <easylogging++.h>
|
||||
#ifndef _DEBUG
|
||||
#define _DEBUG
|
||||
#define ELPP_THREAD_SAFE
|
||||
#define ELPP_QT_LOGGING
|
||||
#define ELPP_NO_DEFAULT_LOG_FILE
|
||||
#include <easylogging++.h>
|
||||
#undef _DEBUG
|
||||
#else
|
||||
#define ELPP_THREAD_SAFE
|
||||
#define ELPP_QT_LOGGING
|
||||
#define ELPP_NO_DEFAULT_LOG_FILE
|
||||
#include <easylogging++.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user