1 #ifndef SZA_UTIL_LOGFILE_H
2 #define SZA_UTIL_LOGFILE_H
38 void setDirectory(
const std::string& dir);
43 void setPrefix(
const std::string& prefix);
65 bool fileExists(std::string fileName);
71 std::string newFileName();
76 void prepend(std::string message);
81 void append(std::string message);
92 static const int MAX_VERSION;
101 std::string directory_;
109 std::string prependStr_;
114 std::ostringstream lineBuffer_;
129 void write(std::string line);
139 #endif // End #ifndef SZA_UTIL_LOGFILE_H
Tagged: Fri Nov 14 12:39:38 UTC 2003.
Tagged: Mon May 10 17:23:41 PDT 2004.