From 2755425424cd4df87cc7a34bc02b5dedd0a1e21d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Nov 2020 23:30:09 +0100 Subject: Log all events to message pane This is maybe a bit much, or they need to be cleaned up a bit to be more presentable, but I like the transparency. --- src/Patchage.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Patchage.cpp') diff --git a/src/Patchage.cpp b/src/Patchage.cpp index f3dfc2e..335496d 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -518,6 +518,7 @@ void Patchage::refresh() { auto sink = [this](const PatchageEvent& event) { + _log.info(event_to_string(event)); handle_event(*this, event); }; @@ -595,6 +596,7 @@ Patchage::process_events() std::lock_guard lock{_events_mutex}; while (!_driver_events.empty()) { + _log.info(event_to_string(_driver_events.front())); handle_event(*this, _driver_events.front()); _driver_events.pop(); } -- cgit v1.2.1