feat: make /log level work with non-default files

This commit is contained in:
2025-10-13 20:47:34 +02:00
parent fac1e224bc
commit ad95edb2b9
4 changed files with 7 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ typedef enum {
PROF_LEVEL_ERROR
} log_level_t;
void log_init(log_level_t filter, char* log_file);
void log_init(log_level_t filter, const char* const log_file);
log_level_t log_get_filter(void);
void log_close(void);
const gchar* get_log_file_location(void);