Applications will need to use this API now to get internal
state of rte_log.
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Marchand <david.marchand@redhat.com>
int rte_openlog_stream(FILE *f);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
* Retrieve the stream used by the logging system (see rte_openlog_stream()
* to change it).
*
* @return
* Pointer to the stream.
*/
-__rte_experimental
FILE *rte_log_get_stream(void);
/**
rte_log_dump;
rte_log_get_global_level;
rte_log_get_level;
+ rte_log_get_stream;
rte_log_register;
rte_log_set_global_level;
rte_log_set_level;
rte_rand_max;
# added in 19.11
- rte_log_get_stream;
rte_mcfg_get_single_file_segments;
# added in 20.02