WvStreams
wvcrashlog.h
1 /* -*- Mode: C++ -*-
2  * Worldvisions Weaver Software:
3  * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4  *
5  * A "Log Receiver" that logs messages to a file
6  */
7 
8 #ifndef __WVCRASHLOG_H
9 #define __WVCRASHLOG_H
10 
11 #include "wvlogrcv.h"
12 
14 class WvCrashLog : public WvLogRcv
15 {
16 public:
17  WvCrashLog(WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
18 
19 protected:
20  virtual void _make_prefix(time_t now_sec);
21  virtual void _mid_line(const char *str, size_t len);
22 };
23 
24 #endif