/usr/include/wvstreams/wvsyslog.h is in libwvstreams-dev 4.6.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
*
*/
#ifndef __WVSYSLOG_H
#define __WVSYSLOG_H
#include "wvlogrcv.h"
/**
* WvSyslog is a descendant of WvLogRcv that sends messages to the syslogd
* daemon.
*/
class WvSyslog : public WvLogRcv
{
public:
WvSyslog(WvStringParm _prefix, bool _include_appname,
WvLog::LogLevel _first_debug = WvLog::Debug,
WvLog::LogLevel _max_level = WvLog::NUM_LOGLEVELS);
virtual ~WvSyslog();
protected:
WvLog::LogLevel first_debug;
WvDynBuf current;
WvString syslog_prefix;
bool include_appname;
virtual void _begin_line();
virtual void _mid_line(const char *str, size_t len);
virtual void _end_line();
};
#endif // __WVLOGBUFFER_H
|