|
|
@ -50,11 +50,15 @@ class Log: public i2p::util::MsgQueue<LogMsg> |
|
|
|
|
|
|
|
|
|
|
|
std::ostream * m_LogStream; |
|
|
|
std::ostream * m_LogStream; |
|
|
|
std::string m_Timestamp; |
|
|
|
std::string m_Timestamp; |
|
|
|
|
|
|
|
#if !defined(__APPLE__) |
|
|
|
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) // gcc 4.6
|
|
|
|
#if (__GNUC__ == 4) && (__GNUC_MINOR__ <= 6) // gcc 4.6
|
|
|
|
std::chrono::monotonic_clock::time_point m_LastTimestampUpdate; |
|
|
|
std::chrono::monotonic_clock::time_point m_LastTimestampUpdate; |
|
|
|
#else |
|
|
|
#else |
|
|
|
std::chrono::steady_clock::time_point m_LastTimestampUpdate; |
|
|
|
std::chrono::steady_clock::time_point m_LastTimestampUpdate; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
std::chrono::steady_clock::time_point m_LastTimestampUpdate; |
|
|
|
|
|
|
|
#endif |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
extern Log * g_Log; |
|
|
|
extern Log * g_Log; |
|
|
|