Allow setting custom log file via -f FILENAME
`profanity -f TEST` will use `~/.local/share/profanity/logs/TEST.log` as the log file.
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
#include <pthread.h>
|
||||
#include <glib.h>
|
||||
|
||||
void prof_run(char *log_level, char *account_name, char * config_file);
|
||||
void prof_run(char *log_level, char *account_name, char *config_file, char *log_file);
|
||||
void prof_set_quit(void);
|
||||
|
||||
pthread_mutex_t lock;
|
||||
|
||||
Reference in New Issue
Block a user