Updated Readme and some other fixes.

This commit is contained in:
2016-12-09 23:24:59 +01:00
parent c54ee1b4c0
commit 072d39b771
4 changed files with 23 additions and 9 deletions
+13 -4
View File
@@ -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