Chirp SonicLib  4.5.2
Macros
ch_log.c File Reference

Internal driver functions to log informations on console. More...

#include <stdint.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <invn/soniclib/ch_log.h>
#include <invn/soniclib/chirp_bsp.h>

Macros

#define DEFINE_FCT_PRINTF_LIKE(arg_fmt_position, first_varg_position)
 
#define END_OF_LINE_LENGTH   2
 
#define END_OF_LINE_PATTERN   "\r\n"
 
#define FUNC_NAME_LENGTH   30
 
#define HEADER_LENGTH   (1 + 1 + MODULE_NAME_LENGTH + 1 + FUNC_NAME_LENGTH + 1)
 
#define INDEX_LOG_MESSAGE   (HEADER_LENGTH - 1)
 
#define MESSAGE_MINIMAL_SIZE   50
 
#define MODULE_NAME_LENGTH   7 /* log module name max size in char */
 

Detailed Description

Internal driver functions to log informations on console.

The user should not need to edit this file.