summaryrefslogtreecommitdiff
path: root/logd.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:48 +0200
commitd9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch)
tree8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /logd.h
parentd4c9f10efe815af146438cafb694d16da0e5650a (diff)
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 'logd.h')
-rw-r--r--logd.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/logd.h b/logd.h
index 5d79d9d..788015b 100644
--- a/logd.h
+++ b/logd.h
@@ -7,18 +7,19 @@
#include <fstream>
#include <queue>
#include <time.h>
-class logd {
+class logd
+{
- private:
- string s_logfile;
- queue<string> s_queue;
- ofstream s_output;
- int i_lines;
- public:
- logd( string filename );
- ~logd();
-
- void flush();
- void log( map_string request );
+private:
+ string s_logfile;
+ queue<string> s_queue;
+ ofstream s_output;
+ int i_lines;
+public:
+ logd( string filename );
+ ~logd();
+
+ void flush();
+ void log( map_string request );
};
#endif