added timestamp to events

This commit is contained in:
Arvid Norberg 2008-07-07 12:03:29 +00:00
parent e576babbb8
commit 73b54f1d0c
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ int main(int ac, char* av[])
{
event_string << esc("33");
}
event_string << a->message();
event_string << "[" << time_now_string() << "] " << a->message();
event_string << esc("0");
events.push_back(event_string.str());
if (events.size() >= 20) events.pop_front();