int const LogEntry::TYPE_DEBUG_DECODE = 0x8;
int const LogEntry::TYPE_DEBUG_ENCODE = 0x10;
int const LogEntry::TYPE_TIMING = 0x20;
+int const LogEntry::TYPE_DEBUG_EMAIL = 0x40;
using std::string;
s << _time.tv_sec << ":" << _time.tv_usec;
} else {
char buffer[64];
- struct tm* t = localtime (&_time.tv_sec);
+ time_t const sec = _time.tv_sec;
+ struct tm* t = localtime (&sec);
strftime (buffer, 64, "%c", t);
string a (buffer);
s << a.substr (0, a.length() - 1) << N_(": ");