Skip to content

Commit

Permalink
Log driver object address on entry
Browse files Browse the repository at this point in the history
This is to distinguish between multiple driver object instances, the
first occurrence of which was seen in #183.
  • Loading branch information
dechamps committed Feb 4, 2023
1 parent c91fe1e commit 6376094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flexasio/FlexASIO/cflexasio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ namespace flexasio {
OBJECT_ENTRY_AUTO(__uuidof(::CFlexASIO), CFlexASIO);

template <typename Functor> 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();
Expand Down

0 comments on commit 6376094

Please sign in to comment.