summaryrefslogtreecommitdiff
path: root/logd.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:44 +0200
commitca28c0e618890330d429c0dc12429255b20f0c90 (patch)
treeecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /logd.h
parentb3a99e6e15af3be25394e66d1138bb2682f565c3 (diff)
tagging ychat-0.5.0ychat-0.5.0
Diffstat (limited to 'logd.h')
-rw-r--r--logd.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/logd.h b/logd.h
index e5f8e08..5d79d9d 100644
--- a/logd.h
+++ b/logd.h
@@ -7,19 +7,18 @@
#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