layoutErrorReport function

Logging layout for error report