Expose CLAP logger verbosity

This commit is contained in:
Robbert van der Helm
2022-10-09 00:13:23 +02:00
parent f68be3732e
commit 2766f2ab09
+8
View File
@@ -35,6 +35,14 @@ class ClapLogger {
*/
inline void log(const std::string& message) { logger_.log(message); }
/**
* Used to filter misbehavior messages in the CLAP log extension
* implementation.
*
* @see Logger::verbosity
*/
inline Logger::Verbosity verbosity() { return logger_.verbosity_; }
/**
* Log calls to `clap_plugin::get_extension()` and
* `clap_host::get_extension()`. This makes it possible to tell which