1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(c) 2017-2018 Intel Corporation 3 */ 4 5 #include <rte_common.h> 6 #include <rte_log.h> 7 #include "eal_log.h" 8 9 /* set the log to default function, called during eal init process. */ 10 int eal_log_init(__rte_unused const char * id,__rte_unused int facility)11eal_log_init(__rte_unused const char *id, __rte_unused int facility) 12 { 13 rte_openlog_stream(stderr); 14 15 eal_log_set_default(stderr); 16 17 return 0; 18 } 19