SysLog Class ReferenceLog class writing to syslog. More...
Inheritance diagram for SysLog:
Detailed DescriptionLog class writing to syslog.
Definition at line 44 of file SysLog.h. Constructor & Destructor Documentation
Published / author: 2004-08-18 / grymse@alhem.net Definition at line 48 of file SysLog.cpp. 00049 { 00050 static char blah[100]; 00051 strcpy(blah, appname.c_str()); 00052 openlog(blah, option, facility); 00053 }
Member Function Documentation
Implements IError. Definition at line 68 of file SysLog.cpp. References Query::GetErrno(), Query::GetError(), and Query::GetLastQuery(). 00069 { 00070 syslog(LOG_ERR, "%s: %s(%d)", str.c_str(),q.GetError().c_str(),q.GetErrno() ); 00071 syslog(LOG_ERR, "QUERY: \"%s\"", q.GetLastQuery().c_str()); 00072 }
The documentation for this class was generated from the following files: |