Print the configuration on startup

This commit is contained in:
Robbert van der Helm
2020-05-16 16:18:16 +02:00
parent 312200f100
commit d2cd608abb
4 changed files with 64 additions and 14 deletions
+15
View File
@@ -26,6 +26,7 @@
#include <thread>
#include "../common/logging.h"
#include "configuration.h"
#include "utils.h"
/**
@@ -171,8 +172,22 @@ class PluginBridge {
*/
audioMasterCallback host_callback_function;
/**
* The logging facility used for this instance of yabridge. See
* `Logger::create_from_env()` for how this is configured.
*
* @see Logger::create_from_env
*/
Logger logger;
/**
* The configuration for this instance of yabridge. Set based on the values
* from a `yabridge.toml`, if it exists.
*
* @see Configuration::load_for
*/
Configuration config;
/**
* The version of Wine currently in use. Used in the debug output on plugin
* startup.