LogInit: use struct ConfigData

This commit is contained in:
Max Kellermann
2018-07-17 23:02:06 +02:00
parent a9b8d5ecb6
commit 0b4e0b7bcb
3 changed files with 8 additions and 6 deletions

View File

@@ -20,6 +20,8 @@
#ifndef MPD_LOG_INIT_HXX
#define MPD_LOG_INIT_HXX
struct ConfigData;
/**
* Configure a logging destination for daemon startup, before the
* configuration file is read. This allows the daemon to use the
@@ -35,7 +37,7 @@ log_early_init(bool verbose);
* Throws #std::runtime_error on error.
*/
void
log_init(bool verbose, bool use_stdout);
log_init(const ConfigData &config, bool verbose, bool use_stdout);
void
log_deinit();