void afgs_main_abort gchar *  format,
  ...
 

Write an error into the log and the console and then exits.

Convenience function for write an error message in the log file and in the std out. After that, this function will exit.

Parameters:
format A printf like format message