Added static_cast<long long> before calling std::to_string()
Added LogParser argument.
Merge pull request #316 from joakim-hove/log-fixup

Log fixup