summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-07 04:47:23 +0000
committerDavid Robillard <d@drobilla.net>2010-01-07 04:47:23 +0000
commitabc45c5708f4381c37a41e33e709cb5695848c70 (patch)
tree9808d11a90395db71ff9a3b5b8ff945ac92ba604 /src
parent5f58582a4a9aebb3c223e7132d24a278ce29e1cb (diff)
downloadingen-abc45c5708f4381c37a41e33e709cb5695848c70.tar.gz
ingen-abc45c5708f4381c37a41e33e709cb5695848c70.tar.bz2
ingen-abc45c5708f4381c37a41e33e709cb5695848c70.zip
Consistent debug output for LV2URIMap.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2358 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/shared/LV2URIMap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shared/LV2URIMap.cpp b/src/shared/LV2URIMap.cpp
index c06d9187..3666c2a3 100644
--- a/src/shared/LV2URIMap.cpp
+++ b/src/shared/LV2URIMap.cpp
@@ -75,8 +75,10 @@ LV2URIMap::uri_map_uri_to_id(LV2_URI_Map_Callback_Data callback_data,
me->uri_map.insert(make_pair(string(uri), ret));
}
- debug << "URI MAP (" << (map ? (void*)map : NULL)
- << "): " << uri << " -> " << ret << endl;
+ debug << "[LV2URIMap] ";
+ if (map)
+ debug << map << " : ";
+ debug << uri << " => " << ret << endl;
assert(ret <= UINT16_MAX);
return ret;