libnavajo
web server for static and dynamic pages developement in C++
LogSyslog.hh
Go to the documentation of this file.
1 //********************************************************
12 //********************************************************
13 
14 #ifndef LOGSYSLOG_HH_
15 #define LOGSYSLOG_HH_
16 
17 #include <iostream>
18 #include <sstream>
19 #include <fstream>
20 #include <string>
21 
22 #include "libnavajo/LogOutput.hh"
23 
24 
28  class LogSyslog : public LogOutput
29  {
30  public:
31  LogSyslog(const char *id="Navajo");
32  ~LogSyslog();
33 
34  void append(const NvjLogSeverity& l, const std::string& m, const std::string& details="");
35  void initialize();
36 
37  private:
38  char ident[30];
39 
40 
41  };
42 
43 
44 #endif
Generic log output (abstract class)
Definition: LogSyslog.hh:28
void initialize()
Definition: LogSyslog.cc:61
LogSyslog(const char *id="Navajo")
Definition: LogSyslog.cc:73
~LogSyslog()
Definition: LogSyslog.cc:83
void append(const NvjLogSeverity &l, const std::string &m, const std::string &details="")
Definition: LogSyslog.cc:26
Definition: LogOutput.hh:30