summaryrefslogtreecommitdiff
path: root/src/kernel/log.h
blob: daf90ddfa3dcc9aa0692618c7c6caf69cf0a23a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef LOG_H
#define LOG_H

#include <stdarg.h>

enum log_level {
  LOG_USER,
  LOG_INFO,
  LOG_DUMP,
  LOG_WARN,
  LOG_ERROR,
  LOG_PANIC
};

void init_log();
void logf(enum log_level level, const char *format, ...);

#endif