From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- ychat-0.5.3/src/logd.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ychat-0.5.3/src/logd.h (limited to 'ychat-0.5.3/src/logd.h') diff --git a/ychat-0.5.3/src/logd.h b/ychat-0.5.3/src/logd.h new file mode 100644 index 0000000..788015b --- /dev/null +++ b/ychat-0.5.3/src/logd.h @@ -0,0 +1,25 @@ +#ifndef LOGD_H +#define LOGD_H + +#include "incl.h" +#include "s_tool.h" +#include "s_conf.h" +#include +#include +#include +class logd +{ + +private: + string s_logfile; + queue s_queue; + ofstream s_output; + int i_lines; +public: + logd( string filename ); + ~logd(); + + void flush(); + void log( map_string request ); +}; +#endif -- cgit v1.2.3