A layout function to be used with an e-mail appender. This layout creates a short summary e-mail message on the event, including stack trace.

layoutEmail(level, message)

Arguments

level

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

message

The message to layout.