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

enum log_mode {
  LOG_SYSTEM,
  LOG_USER,
  LOG_PANIC
};

void init_log();
void set_log_mode(enum log_mode mode);

void logch(char ch);
void logsz(const char *sz);

#endif