#ifndef __SimpleLogFile_h_ #define __SimpleLogFile_h_ /* This header file describes a simple *interface* for a log file * implementation. The idea is that some library routines, like * DatabaseWithRetry.C need to access a log file. However, the best * implementation of the log file will vary from one project to the next. So * DatabaseWithRetry.C and other files can import this header. The project * will choose an implementation by including that implementation in the * make file. * * SimpleLogFile.C contains a trivial implementation of the log file. * Everything is written out to the standard output. LogFile.C contain a more * complicated implementation. It is useful in programs that are already using * ThreadClass. Other implementations are certainly possible. */ #include "MiscSupport.h" void sendToLogFile(TclList const &message); // This will exit the program after all messages have been written to the log. void scheduleSyncrhonizedShutdown(); #endif