mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 12:30:00 +02:00
Remove redundant information from logging
This commit is contained in:
@@ -93,10 +93,10 @@ void Logger::log_get_parameter(int32_t index) {
|
||||
}
|
||||
}
|
||||
|
||||
void Logger::log_get_parameter_response(int32_t index, float value) {
|
||||
void Logger::log_get_parameter_response(float value) {
|
||||
if (verbosity >= Verbosity::events) {
|
||||
std::ostringstream message;
|
||||
message << " getParameter() :: " << index << " == " << value;
|
||||
message << " getParameter() :: " << value;
|
||||
|
||||
log(message.str());
|
||||
}
|
||||
@@ -111,12 +111,9 @@ void Logger::log_set_parameter(int32_t index, float value) {
|
||||
}
|
||||
}
|
||||
|
||||
void Logger::log_set_parameter_response(int32_t index) {
|
||||
void Logger::log_set_parameter_response() {
|
||||
if (verbosity >= Verbosity::events) {
|
||||
std::ostringstream message;
|
||||
message << " setParameter() :: " << index << " OK";
|
||||
|
||||
log(message.str());
|
||||
log(" setParameter() :: OK");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -89,9 +89,9 @@ class Logger {
|
||||
// The following functions are for logging specific events, they are only
|
||||
// enabled for verbosity levels higher than 1 (i.e. `Verbosity::events`)
|
||||
void log_get_parameter(int32_t index);
|
||||
void log_get_parameter_response(int32_t index, float vlaue);
|
||||
void log_get_parameter_response(float vlaue);
|
||||
void log_set_parameter(int32_t index, float value);
|
||||
void log_set_parameter_response(int32_t index);
|
||||
void log_set_parameter_response();
|
||||
// If is_dispatch is true, then use opcode names from the plugin's dispatch
|
||||
// function. Otherwise use names for the host callback function opcodes.
|
||||
void log_event(bool is_dispatch,
|
||||
|
||||
Reference in New Issue
Block a user