3 File kernel/include/logging.h

3.1 Structures and Types

Type Name
enum bea_log_level_t
Kernel logging levels.

3.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.

3.3 Structures and Types Documentation

3.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
};

3.4 Functions Documentation

3.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