Zth (libzth)
zth_logv.cpp
Go to the documentation of this file.
1 /*
2  * Zth (libzth), a cooperative userspace multitasking library.
3  * Copyright (C) 2019-2022 Jochem Rutgers
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at https://mozilla.org/MPL/2.0/.
8  */
9 
10 #include <libzth/util.h>
11 
17 #ifndef ZTH_OS_WINDOWS
18 __attribute__((weak))
19 #endif
20 void zth_logv(char const* fmt, va_list arg)
21 {
22  // NOLINTNEXTLINE
23  vprintf(fmt, arg);
24 }
void zth_logv(char const *fmt, va_list arg)
Prints the given printf()-like formatted string to stdout.
Definition: zth_logv.cpp:20