Browse Source

add debugging statements

David Rose 23 years ago
parent
commit
e32fb9c7ef
1 changed files with 5 additions and 0 deletions
  1. 5 0
      panda/src/putil/bamWriter.cxx

+ 5 - 0
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);