blob: 2592fe95a5f0c1aa9246f7cca75b78e8d6ce6497 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Copyright (c) 2014, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <odp_internal.h>
#include <odp/debug.h>
#include <odp_debug_internal.h>
#include <odp/hints.h>
ODP_WEAK_SYMBOL int odp_override_log(odp_log_level_e level ODP_UNUSED,
const char *fmt, ...)
{
va_list args;
int r;
va_start(args, fmt);
r = vfprintf(stderr, fmt, args);
va_end(args);
return r;
}
|