Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::Extension::Extension::printFailure ( Glib::ustring  reason  ) 

A quick function to print out a standard start of extension errors in the log.

Parameters:
reason A string explaining why this failed
Real simple, just put everything into error_file.

Definition at line 271 of file extension.cpp.

References error_file, and name.

Referenced by check().

{
      error_file << _("Extension \"") << name << _("\" failed to load because ");
      error_file << reason;
      error_file << std::endl;
      return;
}


Generated by  Doxygen 1.6.0   Back to index