From e32fb9c7efa098ffe8d5bbec73624005c03ab6e0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 4 Apr 2003 16:14:03 +0000 Subject: [PATCH] add debugging statements --- panda/src/putil/bamWriter.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/panda/src/putil/bamWriter.cxx b/panda/src/putil/bamWriter.cxx index 47c928786c..2d8220d1c0 100644 --- a/panda/src/putil/bamWriter.cxx +++ b/panda/src/putil/bamWriter.cxx @@ -143,6 +143,11 @@ write_object(const TypedWritable *object) { util_cat.info() << "Writing " << registered_type << " instead of " << type << "\n"; type = registered_type; + + } else if (util_cat.is_debug()) { + util_cat.debug() + << "Writing " << type << " object id " << object_id + << " to bam file\n"; } write_handle(dg, type);