mirror of
https://github.com/armink/EasyLogger.git
synced 2025-01-19 07:42:52 +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;
|
||||
|
||||
#ifdef ELOG_COLOR_ENABLE
|
||||
/* disable text color by default */
|
||||
elog_set_text_color_enabled(false);
|
||||
/* enable text color by default */
|
||||
elog_set_text_color_enabled(true);
|
||||
#endif
|
||||
|
||||
/* set level is ELOG_LVL_VERBOSE */
|
||||
|
Loading…
x
Reference in New Issue
Block a user