]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_log.h
doc: announce python 2 support removal
[dpdk.git] / lib / librte_eal / common / include / rte_log.h
index f334efce4133b016b04b3be3bb20e584987ca54f..1bb0e66944e9d6ff9905f69f34a768fe1201807d 100644 (file)
@@ -37,7 +37,7 @@ struct rte_logs {
        struct rte_log_dynamic_type *dynamic_types;
 };
 
-/** Global log informations */
+/** Global log information */
 extern struct rte_logs rte_logs;
 
 /* SDK log type */
@@ -101,6 +101,19 @@ extern struct rte_logs rte_logs;
  */
 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);
+
 /**
  * Set the global log level.
  *