Merge pull request #124 from h3n4l/fix/default-output-color

fix: enable text color default if define macro ELOG_COLOR_ENABLE
pull/126/head
朱天龙 (Armink) 3 years ago committed by GitHub
commit 8a88610b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save