1
0
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:
h3n4l 2022-08-30 08:56:50 +08:00
parent cc7a3e6d22
commit 1600a2b2b3

View File

@ -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 */