1
0
Fork 0

Fix log test stub

This commit is contained in:
Michael Vetter 2020-02-21 21:29:14 +01:00
parent 55f49f1259
commit f055faf31c
1 changed files with 5 additions and 4 deletions

View File

@ -26,20 +26,21 @@
#include "log.h"
void log_init(log_level_t filter) {}
void log_init(log_level_t filter, char *log_file) {}
log_level_t log_get_filter(void)
{
return mock_type(log_level_t);
}
void log_reinit(void) {}
void log_close(void) {}
void log_debug(const char * const msg, ...) {}
void log_info(const char * const msg, ...) {}
void log_warning(const char * const msg, ...) {}
void log_error(const char * const msg, ...) {}
void log_msg(log_level_t level, const char * const area,
const char * const msg) {}
char * get_log_file_location(void)
void log_msg(log_level_t level, const char * const area, const char * const msg) {}
const char * get_log_file_location(void)
{
return mock_ptr_type(char *);
}