Add --log-directory option

For specifying directory path in which to save automatically named log
files.
This commit is contained in:
Martin Lund 2024-04-04 12:31:39 +02:00
parent 83f826349b
commit 70913fe120
7 changed files with 65 additions and 7 deletions

View file

@ -54,6 +54,7 @@ struct option_t
bool local_echo;
enum timestamp_t timestamp;
const char *log_filename;
const char *log_directory;
const char *map;
const char *socket;
int color;