mirror of
https://github.com/armink/EasyLogger.git
synced 2025-02-08 00:54:09 +08:00
fix: enable text color default if define macro ELOG_COLOR_ENABLE
This commit is contained in:
parent
cc7a3e6d22
commit
1600a2b2b3
@ -185,8 +185,8 @@ ElogErrCode elog_init(void) {
|
|||||||
elog.output_is_locked_before_disable = false;
|
elog.output_is_locked_before_disable = false;
|
||||||
|
|
||||||
#ifdef ELOG_COLOR_ENABLE
|
#ifdef ELOG_COLOR_ENABLE
|
||||||
/* disable text color by default */
|
/* enable text color by default */
|
||||||
elog_set_text_color_enabled(false);
|
elog_set_text_color_enabled(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* set level is ELOG_LVL_VERBOSE */
|
/* set level is ELOG_LVL_VERBOSE */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user