minor debug aids

This commit is contained in:
David Rose 2013-03-27 16:51:09 +00:00
parent 40cddd6280
commit e36dee223a
2 changed files with 6 additions and 0 deletions

View File

@ -486,6 +486,9 @@ load_file_types() {
loader_cat.warning()
<< "Unable to load " << dlname.to_os_specific()
<< ": " << load_dso_error() << endl;
} else if (loader_cat.is_debug()) {
loader_cat.debug()
<< "done loading file type module: " << name << endl;
}
} else if (words.size() > 1) {

View File

@ -178,6 +178,9 @@ get_type_from_extension(const string &extension) {
<< "Unable to load " << dlname.to_os_specific() << ": "
<< load_dso_error() << endl;
return NULL;
} else if (loader_cat.is_debug()) {
loader_cat.debug()
<< "done loading file type module: " << name << endl;
}
// Now try again to find the LoaderFileType.