mirror of https://gerrit.osmocom.org/libosmocore
logging test: cosmetic: print target and don't print color
Prepares for upcoming modifications of the logging test to show and fix bugs in the logging system. Change-Id: I9461b987adf85d87469a6af55de5f1aa478f6ebb
This commit is contained in:
parent
3cc757df18
commit
9adf32fb60
|
@ -75,6 +75,8 @@ int main(int argc, char **argv)
|
|||
log_add_target(stderr_target);
|
||||
log_set_all_filter(stderr_target, 1);
|
||||
log_set_print_filename(stderr_target, 0);
|
||||
log_set_print_category(stderr_target, 1);
|
||||
log_set_use_color(stderr_target, 0);
|
||||
|
||||
log_parse_category_mask(stderr_target, "DRLL:DCC");
|
||||
log_parse_category_mask(stderr_target, "DRLL");
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
[1;31mYou should see this
|
||||
[0;m[1;32mYou should see this
|
||||
[0;m[1;31mYou should see this
|
||||
[0;m
|
||||
DRLL You should see this
|
||||
DCC You should see this
|
||||
DRLL You should see this
|
||||
|
|
Loading…
Reference in New Issue