summaryrefslogtreecommitdiffstats
path: root/lib/log.c
blob: 6bc770db7f9b6100f4394870eb453b7e429f05fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "print.h"
#include <stdarg.h>

void
_klogf(const char *file, const char *func, int line, const char *fmt, ...)
{
    kprintf("%s:%i ", func, line);

    va_list ap;
    va_start(ap, fmt);
    kvprintf(fmt, ap);
    va_end(ap);

}