Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
log_frontend.h File Reference
#include <logging/log_core.h>

Go to the source code of this file.

Functions

void log_frontend_init (void)
 Initialize frontend. More...
 
void log_frontend_0 (const char *str, struct log_msg_ids src_level)
 Standard log with no arguments. More...
 
void log_frontend_1 (const char *str, log_arg_t arg0, struct log_msg_ids src_level)
 Standard log with one argument. More...
 
void log_frontend_2 (const char *str, log_arg_t arg0, log_arg_t arg1, struct log_msg_ids src_level)
 Standard log with two arguments. More...
 
void log_frontend_3 (const char *str, log_arg_t arg0, log_arg_t arg1, log_arg_t arg2, struct log_msg_ids src_level)
 Standard log with three arguments. More...
 
void log_frontend_n (const char *str, log_arg_t *args, uint32_t narg, struct log_msg_ids src_level)
 Standard log with arguments list. More...
 
void log_frontend_hexdump (const char *str, const uint8_t *data, uint32_t length, struct log_msg_ids src_level)
 Hexdump log. More...
 

Function Documentation

◆ log_frontend_0()

void log_frontend_0 ( const char *  str,
struct log_msg_ids  src_level 
)

Standard log with no arguments.

Parameters
strString.
src_levelLog identification.

◆ log_frontend_1()

void log_frontend_1 ( const char *  str,
log_arg_t  arg0,
struct log_msg_ids  src_level 
)

Standard log with one argument.

Parameters
strString.
arg0First argument.
src_levelLog identification.

◆ log_frontend_2()

void log_frontend_2 ( const char *  str,
log_arg_t  arg0,
log_arg_t  arg1,
struct log_msg_ids  src_level 
)

Standard log with two arguments.

Parameters
strString.
arg0First argument.
arg1Second argument.
src_levelLog identification.

◆ log_frontend_3()

void log_frontend_3 ( const char *  str,
log_arg_t  arg0,
log_arg_t  arg1,
log_arg_t  arg2,
struct log_msg_ids  src_level 
)

Standard log with three arguments.

Parameters
strString.
arg0First argument.
arg1Second argument.
arg2Third argument.
src_levelLog identification.

◆ log_frontend_hexdump()

void log_frontend_hexdump ( const char *  str,
const uint8_t data,
uint32_t  length,
struct log_msg_ids  src_level 
)

Hexdump log.

Parameters
strString.
dataData.
lengthData length.
src_levelLog identification.

◆ log_frontend_init()

void log_frontend_init ( void  )

Initialize frontend.

◆ log_frontend_n()

void log_frontend_n ( const char *  str,
log_arg_t args,
uint32_t  narg,
struct log_msg_ids  src_level 
)

Standard log with arguments list.

Parameters
strString.
argsArray with arguments.
nargNumber of arguments in the array.
src_levelLog identification.