f-stack/dpdk/lib/eal/windows/eal_log.c

19 lines
377 B
C
Raw Normal View History

2021-02-05 08:48:47 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2017-2018 Intel Corporation
*/
2022-09-06 04:00:10 +00:00
#include <rte_common.h>
#include <rte_log.h>
#include "eal_log.h"
2021-02-05 08:48:47 +00:00
/* set the log to default function, called during eal init process. */
int
2022-09-06 04:00:10 +00:00
eal_log_init(__rte_unused const char *id, __rte_unused int facility)
2021-02-05 08:48:47 +00:00
{
rte_openlog_stream(stderr);
eal_log_set_default(stderr);
return 0;
}