diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-01-16 01:52:29 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-01-19 15:46:49 +0000 |
commit | bd7bd3947d4882bd7939e34d4565027c64524742 (patch) | |
tree | 71465644916d3f3675787f8aaac9e31fcb2e9374 /include/osmocom/codec/ecu.h | |
parent | 1ac277dcef694a2f849a6b5259cf5aa4488bebb9 (diff) |
logging: separate the '<000b>' subsys from filename logging
Add a separate flag and API to switch the category-in-hex output:
log_set_print_category_hex().
Add log_set_print_filename2() to modify only the print_filename flag. The old
log_set_print_filename() function still affects both flags. Explain the
rationale in the comment for log_set_print_filename().
There is no need to deprecate log_set_print_filename(); it might cause compiler
warnings and break strict builds unnecessarily.
Add VTY command 'logging print category-hex (0|1)'.
Since there is no VTY command to switch filename output, nothing needs to be
adjusted there (a command will be added in a subsequent patch).
Change-Id: Iba03a2b7915853c6dccaf6c393c31405320538b4
Diffstat (limited to 'include/osmocom/codec/ecu.h')
0 files changed, 0 insertions, 0 deletions