file_logger.h
Go to the documentation of this file.
108 #define LOG_ERROR(msg, p...) logger_log (log_error, __FILE__, __FUNCTION__, __LINE__, msg, ## p)
111 #define LOG_DEBUG(msg, p...) logger_log (log_debug, __FILE__, __FUNCTION__, __LINE__, msg, ## p)
193 void logger_log(logger_msg_t type, const char * filename, const char * func_name, unsigned line_num,
Definition: file_logger.h:77
void logger_log(logger_msg_t type, const char *filename, const char *func_name, unsigned line_num, const char *msg,...)
Definition: file_logger.c:397
uint16_t logger_get_num_buffers_watermark(void)
Definition: file_logger.c:370
uint16_t logger_get_blocked_call_count(void)
Definition: file_logger.c:360
void logger_set_printf(logger_msg_t type, bool enable)
Definition: file_logger.c:386
Definition: file_logger.h:76
uint16_t logger_get_highest_file_write_time_ms(void)
Definition: file_logger.c:365
Definition: file_logger.h:78
uint32_t logger_get_logged_call_count(logger_msg_t severity)
Definition: file_logger.c:355
Debug logs are printed to stdio (printf) unless disabled by logger_set_printf()
Definition: file_logger.h:75