summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_eal/windows/eal_log.c
blob: 875981f139141c2677f8734d2427f36dc69f058a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(c) 2017-2018 Intel Corporation
 */

#include "eal_private.h"

/* set the log to default function, called during eal init process. */
int
rte_eal_log_init(__rte_unused const char *id, __rte_unused int facility)
{
	rte_openlog_stream(stderr);

	eal_log_set_default(stderr);

	return 0;
}