This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
portland-os/src/kernel/log.h

18 lines
227 B
C

#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