From 63760946c72a499939b61bc83c7d6e5cb76d4874 Mon Sep 17 00:00:00 2001 From: Etienne Dechamps Date: Sat, 4 Feb 2023 11:05:16 +0000 Subject: [PATCH] Log driver object address on entry This is to distinguish between multiple driver object instances, the first occurrence of which was seen in #183. --- src/flexasio/FlexASIO/cflexasio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flexasio/FlexASIO/cflexasio.cpp b/src/flexasio/FlexASIO/cflexasio.cpp index aeda18cf..7a0c96ec 100644 --- a/src/flexasio/FlexASIO/cflexasio.cpp +++ b/src/flexasio/FlexASIO/cflexasio.cpp @@ -146,7 +146,7 @@ namespace flexasio { OBJECT_ENTRY_AUTO(__uuidof(::CFlexASIO), CFlexASIO); template ASIOError CFlexASIO::Enter(std::string_view context, Functor functor) { - if (IsLoggingEnabled()) Log() << "--- ENTERING CONTEXT: " << context; + if (IsLoggingEnabled()) Log() << "--- ENTERING CONTEXT: " << context << " on " << this; ASIOError result; try { functor();