From abc45c5708f4381c37a41e33e709cb5695848c70 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jan 2010 04:47:23 +0000 Subject: Consistent debug output for LV2URIMap. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2358 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/LV2URIMap.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/shared') 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; -- cgit v1.2.1