00001 #include "globals.h" 00002 00003 #include <stdlib.h> 00004 #include <stdio.h> 00005 00006 #include "cdebug.h" 00007 00008 /* Definition of the singleton instance pointer. */ 00009 CDebug *CDebug::unique_instance = 0; 00010 00011 void CDebug::log_error(const char *err_msg, int fatal) 00012 { 00013 fprintf(stderr, err_msg); 00014 if (fatal) { 00015 exit(fatal); 00016 } 00017 }
1.3.3