WvStreams
wvcrashlog.h
00001 /* -*- Mode: C++ -*-
00002  * Worldvisions Weaver Software:
00003  *   Copyright (C) 1997-2002 Net Integration Technologies, Inc.
00004  *
00005  * A "Log Receiver" that logs messages to a file 
00006  */
00007 
00008 #ifndef __WVCRASHLOG_H
00009 #define __WVCRASHLOG_H
00010 
00011 #include "wvlogrcv.h"
00012 
00014 class WvCrashLog : public WvLogRcv
00015 {
00016 public:
00017     WvCrashLog(WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
00018     
00019 protected:
00020     virtual void _make_prefix(time_t now_sec); 
00021     virtual void _mid_line(const char *str, size_t len);
00022 };
00023 
00024 #endif