15 lines
377 B
C
15 lines
377 B
C
#ifndef _KERNEL_LIBKERN_LOG_H
|
|
#define _KERNEL_LIBKERN_LOG_H
|
|
|
|
#include <libkern/printf.h>
|
|
#include <libkern/types.h>
|
|
|
|
struct boot_args;
|
|
void logger_setup(struct boot_args* boot_args);
|
|
|
|
int log(const char* format, ...);
|
|
int log_warn(const char* format, ...);
|
|
int log_error(const char* format, ...);
|
|
int log_not_formatted(const char* format, ...);
|
|
|
|
#endif // _KERNEL_LIBKERN_LOG_H
|