Defines | |
#define | LOG_LEVEL_MINIMUM LOG_LEVEL_FATAL |
Functions | |
void | fatal_error (const char *error_message) |
void | init_error_log (const char *prog_name, const char *logfname, int debuglevel) |
void | log_error (int loglevel, char *fmt,...) |
Variables | |
const char | errlog_rcs [] = "$Id: errlog.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $" |
const char | errlog_h_rcs [] = ERRLOG_H_VERSION |
FILE * | logfp = NULL |
int | debug = (LOG_LEVEL_FATAL | LOG_LEVEL_ERROR | LOG_LEVEL_INFO) |
Revision 1.40 2002/05/22 01:27:27 david__schmidt
Add os2_socket_strerr mirroring w32_socket_strerr.
Revision 1.39 2002/04/03 17:15:27 gliptak zero padding thread ids in log
Revision 1.38 2002/03/31 17:18:59 jongfoster Win32 only: Enabling STRICT to fix a VC++ compile warning.
Revision 1.37 2002/03/27 14:32:43 david__schmidt More compiler warning message maintenance
Revision 1.36 2002/03/26 22:29:54 swa we have a new homepage!
Revision 1.35 2002/03/24 15:23:33 jongfoster Name changes
Revision 1.34 2002/03/24 13:25:43 swa name change related issues
Revision 1.33 2002/03/13 00:27:04 jongfoster Killing warnings
Revision 1.32 2002/03/07 03:46:17 oes Fixed compiler warnings
Revision 1.31 2002/03/06 23:02:57 jongfoster Removing tabs
Revision 1.30 2002/03/05 22:43:45 david__schmidt
Revision 1.28 2002/03/04 17:59:59 oes Deleted deletePidFile(), cosmetics
Revision 1.27 2002/03/04 02:08:01 david__schmidt Enable web editing of actions file on OS/2 (it had been broken all this time!)
Revision 1.26 2002/01/09 19:05:45 steudten Fix big memory leak.
Revision 1.25 2002/01/09 14:32:08 oes Added support for gmtime_r and localtime_r.
Revision 1.24 2001/12/30 14:07:32 steudten
Revision 1.22 2001/11/05 23:43:05 steudten Add time+date to log files.
Revision 1.21 2001/10/25 03:40:47 david__schmidt Change in porting tactics: OS/2's EMX porting layer doesn't allow multiple threads to call select() simultaneously. So, it's time to do a real, live, native OS/2 port. See defines for __EMX__ (the porting layer) vs. __OS2__ (native). Both versions will work, but using __OS2__ offers multi-threading.
Revision 1.20 2001/09/16 23:04:34 jongfoster Fixing a warning
Revision 1.19 2001/09/13 20:08:06 jongfoster Adding support for LOG_LEVEL_CGI
Revision 1.18 2001/09/10 11:27:24 oes Declaration of w32_socket_strerr now conditional
Revision 1.17 2001/09/10 10:17:13 oes Removed unused variable; Fixed sprintf format
Revision 1.16 2001/07/30 22:08:36 jongfoster Tidying up defines:
Revision 1.14 2001/07/19 19:03:48 haroon
Revision 1.11 2001/06/01 18:14:49 jongfoster Changing the calls to strerr() to check HAVE_STRERR (which is defined in config.h if appropriate) rather than the NO_STRERR macro.
Revision 1.10 2001/05/29 11:52:21 oes Conditional compilation of w32_socket_error
Revision 1.9 2001/05/28 16:15:17 jongfoster Improved reporting of errors under Win32.
Revision 1.8 2001/05/26 17:25:14 jongfoster Added support for CLF (Common Log Format) and fixed LOG_LEVEL_LOG
Revision 1.7 2001/05/26 15:21:28 jongfoster Activity animation in Win32 GUI now works even if debug==0
Revision 1.6 2001/05/25 21:55:08 jongfoster Now cleans up properly on FATAL (removes taskbar icon etc)
Revision 1.5 2001/05/22 18:46:04 oes
Revision 1.3 2001/05/20 01:11:40 jongfoster Added support for LOG_LEVEL_FATAL Renamed LOG_LEVEL_FRC to LOG_LEVEL_FORCE, and LOG_LEVEL_REF to LOG_LEVEL_RE_FILTER
Revision 1.2 2001/05/17 22:42:01 oes
|
Displays a fatal error to standard error (or, on a WIN32 GUI, to a dialog box), and exits JunkBuster with status code 1.
|
|
Initializes the logging module. Must call before calling log_error.
|
|
This is the error-reporting and logging function.
|
|
Version information about errlog.h.
|
|
Version information about errlog.c.
|