eal: deprecate log functions
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 4 Apr 2017 16:40:37 +0000 (18:40 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 5 Apr 2017 11:48:40 +0000 (13:48 +0200)
commit4f0981e6ec6c6ae99c9866c4e19f7a496ac95076
tree0392bfa12d80b8f54a434d0c79e510354600c016
parent845afe51e4280aa28de5db90d4d239d8940f6e6c
eal: deprecate log functions

Deprecate the following functions:
- rte_set_log_level(), replaced by rte_log_set_global_level()
- rte_get_log_level(), replaced by rte_log_get_global_level()
- rte_set_log_type(), replaced by rte_log_set_level()
- rte_get_log_type(), replaced by rte_log_get_level()

The new functions provide a better control of the per-type log level,
and have a better name prefix (rte_log_).

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
doc/guides/rel_notes/deprecation.rst
examples/quota_watermark/qw/main.c
examples/quota_watermark/qwctl/qwctl.c
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/eal_common_log.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/include/rte_log.h
lib/librte_eal/linuxapp/eal/rte_eal_version.map
test/test/test_logs.c