made formatting of log messages more customizable