A layout function to be used with an appender. This layout creates a more elaborate error message, for sharing with the developer. If an error occurs in the main thread a summary of the system info will be included.

layoutErrorReport(level, message)

Arguments

level

The level of the message (e.g. "INFO")

message

The message to layout.