summaryrefslogtreecommitdiff
path: root/src/logd.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:41 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:41 +0200
commit520f54d6219b7c625b4e07463ac393e6982ddab6 (patch)
tree74b4483786b3842b1a0384fd33deb7483276bea1 /src/logd.h
parentae4e87df37ed8904de92c7cf2f3a11128cda2a21 (diff)
tagging ychat-0.7.1ychat-0.7.1
Diffstat (limited to 'src/logd.h')
-rwxr-xr-xsrc/logd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/logd.h b/src/logd.h
index f799d21..b91efe0 100755
--- a/src/logd.h
+++ b/src/logd.h
@@ -1,6 +1,5 @@
#include "incl.h"
-#ifdef LOGGING
#ifndef LOGD_H
#define LOGD_H
@@ -9,6 +8,7 @@
class logd
{
+
private:
string s_logfile;
queue<string> s_queue;
@@ -26,12 +26,11 @@ public:
~logd();
void set_logfile( string s_path, string s_filename );
- void log_access( map<string,string> request );
+ void log_access( map_string request );
void log_simple_line( string s_line );
void flush_logs();
static string remove_html_tags( string s_log );
};
-#endif
-#endif
+#endif