summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/log.h')
-rw-r--r--plugins/New_GPG/src/log.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/plugins/New_GPG/src/log.h b/plugins/New_GPG/src/log.h
index 56847943cc..e48d298bd6 100644
--- a/plugins/New_GPG/src/log.h
+++ b/plugins/New_GPG/src/log.h
@@ -18,20 +18,13 @@
class logtofile
{
+ HANDLE hLogger;
+ bool bEnabled = false;
+
public:
- logtofile& operator<<(wchar_t *buf);
- logtofile& operator<<(char *buf);
- logtofile& operator<<(string buf);
- logtofile& operator<<(wstring buf);
+ logtofile& operator<<(const char *buf);
+ logtofile& operator<<(const std::string &buf);
void init();
- ~logtofile();
- logtofile();
-
-private:
- fstream log;
- CMStringW path;
- bool _bDebugLog;
- mir_cs csLock;
};
#endif