mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-01 19:24:15 -04:00
Fix log test stub
This commit is contained in:
parent
55f49f1259
commit
f055faf31c
@ -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 *);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user