libmetal
Functions | Variables
log.c File Reference
#include <stdarg.h>
#include <metal/log.h>
#include <zephyr.h>

Functions

void metal_zephyr_log_handler (enum metal_log_level level, const char *format,...)
 

Variables

static const char * level_strs []
 

Function Documentation

◆ metal_zephyr_log_handler()

void metal_zephyr_log_handler ( enum metal_log_level  level,
const char *  format,
  ... 
)

Variable Documentation

◆ level_strs

const char* level_strs[]
static
Initial value:
= {
"metal: emergency: ",
"metal: alert: ",
"metal: critical: ",
"metal: error: ",
"metal: warning: ",
"metal: notice: ",
"metal: info: ",
"metal: debug: ",
}