mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-31 13:40:06 +01:00
Fix no log issue under openwrt
This commit is contained in:
parent
dc1f555ceb
commit
f8947805a3
|
|
@ -132,3 +132,6 @@ void CLogger::DoLogString(const wxChar* msg, time_t timestamp)
|
|||
m_file->Flush();
|
||||
}
|
||||
|
||||
void CLogger::DoLogRecord(wxLogLevel level, const wxString& msg, const wxLogRecordInfo& info) {
|
||||
DoLog(level, msg.c_str(), info.timestamp);
|
||||
}
|
||||
|
|
@ -31,6 +31,8 @@ public:
|
|||
virtual void DoLog(wxLogLevel level, const wxChar* msg, time_t timestamp);
|
||||
virtual void DoLogString(const wxChar* msg, time_t timestamp);
|
||||
|
||||
virtual void DoLogRecord(wxLogLevel level, const wxString& msg, const wxLogRecordInfo& info);
|
||||
|
||||
private:
|
||||
wxString m_name;
|
||||
wxFFile* m_file;
|
||||
|
|
|
|||
Loading…
Reference in a new issue