diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:44 +0200 |
| commit | ca28c0e618890330d429c0dc12429255b20f0c90 (patch) | |
| tree | ecc02da0184cf4e8bdba94dcdd831abdd1e51b3c /logd.h | |
| parent | b3a99e6e15af3be25394e66d1138bb2682f565c3 (diff) | |
tagging ychat-0.5.0ychat-0.5.0
Diffstat (limited to 'logd.h')
| -rw-r--r-- | logd.h | 25 |
1 files changed, 12 insertions, 13 deletions
@@ -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 |
