[DEV] update to Web build mode
This commit is contained in:
parent
681439fe24
commit
7445e27a1a
10
elog/log.cpp
10
elog/log.cpp
@ -26,7 +26,10 @@
|
|||||||
|
|
||||||
#include <elog/logIOs.h>
|
#include <elog/logIOs.h>
|
||||||
|
|
||||||
#if !defined(__STDCPP_LLVM__) && defined(__TARGET_OS__Linux) && defined(DEBUG)
|
#if !defined(__STDCPP_LLVM__) \
|
||||||
|
&& defined(__TARGET_OS__Linux) \
|
||||||
|
&& defined(DEBUG) \
|
||||||
|
&& !defined(__TARGET_OS__Web)
|
||||||
#include <execinfo.h>
|
#include <execinfo.h>
|
||||||
#include <cxxabi.h>
|
#include <cxxabi.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
@ -70,8 +73,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define DEFAULT_LOG_LEVEL elog::level_info
|
#define DEFAULT_LOG_LEVEL elog::level_verbose
|
||||||
#if defined(__TARGET_OS__Windows)
|
#if defined(__TARGET_OS__Windows) \
|
||||||
|
|| defined(__TARGET_OS__Web)
|
||||||
#define DEFAULT_LOG_COLOR false
|
#define DEFAULT_LOG_COLOR false
|
||||||
#else
|
#else
|
||||||
#define DEFAULT_LOG_COLOR true
|
#define DEFAULT_LOG_COLOR true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user