1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/vm/pc/log.c

31 lines
487 B
C
Raw Normal View History

2019-05-30 11:32:00 +02:00
// The OS/K Team licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
2019-06-05 12:53:09 +02:00
#include <pc/arch.h>
2019-05-30 11:32:00 +02:00
2019-06-21 22:19:55 +02:00
/*
2019-06-19 21:41:22 +02:00
void trace(const char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
}
2019-06-21 22:19:55 +02:00
*/
2019-06-19 21:41:22 +02:00
void logerr(const char *fmt, ...)
2019-05-30 11:32:00 +02:00
{
va_list ap;
2019-05-30 12:44:56 +02:00
2019-05-30 11:32:00 +02:00
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
va_end(ap);
}
void vlog(const char *fmt, va_list ap)
{
vfprintf(stderr, fmt, ap);
}