#define ViceLog(level, str) do { if ((level) <= LogLevel) (FSLog str); } while (0)
#define vViceLog(level, str) do { if ((level) <= LogLevel) (vFSLog str); } while (0)
+#define ViceLogThenPanic(level, str) \
+ do { ViceLog(level, str); osi_Panic str; } while(0);
extern int OpenLog(const char *filename);
extern int ReOpenLog(const char *fileName);
extern void SetupLogSignals(void);
-
-/* abort the current process. */
-#ifdef AFS_NT40_ENV
-#define afs_abort() afs_NTAbort()
-#else
-#define afs_abort() abort()
-#endif
-
+extern void CloseLog(void);
#ifdef AFS_NT40_ENV
#ifndef _MFC_VER
/* Unbuffer output when Un*x would do line buffering. */
#define setlinebuf(S) setvbuf(S, NULL, _IONBF, 0)
-/* Abort on error, possibly trapping to debugger or dumping a trace. */
- void afs_NTAbort(void);
#endif /* AFS_NT40_ENV */
#ifndef HAVE_POSIX_REGEX