debug output

This commit is contained in:
David Rose 2009-04-30 18:21:06 +00:00
parent 799389a96c
commit 73d6e8c6d1

View File

@ -50,6 +50,11 @@ PNMFileTypeRegistry::
////////////////////////////////////////////////////////////////////
void PNMFileTypeRegistry::
register_type(PNMFileType *type) {
if (pnmimage_cat.is_debug()) {
pnmimage_cat.debug()
<< "Registering image type " << type->get_name() << "\n";
}
// Make sure we haven't already registered this type.
Handles::iterator hi = _handles.find(type->get_type());
if (hi != _handles.end()) {