mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 07:53:55 +02:00
Add unknown interface logging on the Wine side
This commit is contained in:
@@ -263,6 +263,20 @@ class Vst3Bridge : public HostBridge {
|
||||
return do_call_response.get();
|
||||
}
|
||||
|
||||
private:
|
||||
Logger generic_logger;
|
||||
|
||||
public:
|
||||
/**
|
||||
* A logger instance we'll use to log about failed
|
||||
* `FUnknown::queryInterface` calls, so they can be hidden on verbosity
|
||||
* level 0.
|
||||
*
|
||||
* This only has to be used instead of directly writing to `std::cerr` when
|
||||
* the message should be hidden on lower verbosity levels.
|
||||
*/
|
||||
Vst3Logger logger;
|
||||
|
||||
private:
|
||||
/**
|
||||
* Generate a nique instance identifier using an atomic fetch-and-add. This
|
||||
|
||||
Reference in New Issue
Block a user