ArvernOS
Loading...
Searching...
No Matches
logging.h File Reference

This is the general kernel logging module. More...

#include <arch/logging.h>
#include <inttypes.h>
#include <stdio.h>
#include <time/timer.h>
Include dependency graph for logging.h:
This graph shows which files directly or indirectly include this file:

Detailed Description

This is the general kernel logging module.

In release mode, the logging levels available are:

  • INFO
  • WARN

In debug mode, the following additional logging levels are available:

  • DEBUG: enabled by default but can be disabled with ENABLE_KERNEL_DEBUG set to 0.

Each kernel module should ideally have its own logging header that depends on this one. The main use case is to have more configurable loggers that can be enabled/disabled depending on the needs.