7 File kernel/include/logging.h

7.1 Structures and Types

Type Name
enum bea_log_level_t
Kernel logging levels.

7.2 Functions

Type Name
bool bea_log (enum bea_log_level_t level, const char *msg)
Log message to whatever log output device has been specified at build time.

7.3 Structures and Types Documentation

7.3.1 enum bea_log_level_t

Kernel logging levels.

enum bea_log_level_t {
    BEA_LOG_DEBUG = 0,
    BEA_LOG_INFO,
    BEA_LOG_WARNING,
    BEA_LOG_ERROR,
    BEA_LOG_FATAL
};

7.4 Functions Documentation

7.4.1 function bea_log

Log message to whatever log output device has been specified at build time.

bool bea_log (
    enum bea_log_level_t level,
    const char *msg
) 

Parameters:

Returns:

true Logging was actually performed (device is connected and log level is set appropriately)

Returns:

false Logging was not performed