diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2021-02-18 19:27:38 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-02-20 17:13:58 +0000 |
commit | 6e9dd02bf8ca7a02bedc39d8bc1ce7eb9f3240e7 (patch) | |
tree | e168016107520efc7f3a964566b47ae47d95eaa1 | |
parent | 01e0d3e7fd3c43c6bc83f925ce9acba40265f0bf (diff) |
logging: Deprecate API log_set_print_filename
Let's flag the API as deprecated so that people start using
log_set_print_filename2() API instead, which has less ackward
behavior implications like changing the print status of category-hex.
Related: OS#5034
Change-Id: If9b6b322989536a12094e6105c3aabc84d8be24a
-rw-r--r-- | include/osmocom/core/logging.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index 4361cad5..01850c43 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -377,7 +377,7 @@ void log_set_use_color(struct log_target *target, int); void log_set_print_extended_timestamp(struct log_target *target, int); void log_set_print_timestamp(struct log_target *target, int); void log_set_print_tid(struct log_target *target, int); -void log_set_print_filename(struct log_target *target, int); +void log_set_print_filename(struct log_target *target, int) OSMO_DEPRECATED("Use log_set_print_filename2() instead"); void log_set_print_filename2(struct log_target *target, enum log_filename_type lft); void log_set_print_filename_pos(struct log_target *target, enum log_filename_pos pos); void log_set_print_category(struct log_target *target, int); |