LogEvent(string, map) and requested unit test

@dkorolev PTAL
I can optimize the code below so only ```HashMap``` will be needed.