1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2021 Mellanox Technologies, Ltd
12 * Initialize the default log stream.
14 int eal_log_init(const char *id, int facility);
17 * Determine where log data is written when no call to rte_openlog_stream.
19 void eal_log_set_default(FILE *default_log);
22 * Save a log option for later.
24 int eal_log_save_regexp(const char *regexp, uint32_t level);
25 int eal_log_save_pattern(const char *pattern, uint32_t level);
28 * Convert log level to string.
30 const char *eal_log_level2str(uint32_t level);
32 #endif /* EAL_LOG_H */