A layout function to be used with an appender. This layout adds the stack trace to the message.

layoutStackTrace(level, message)

Arguments

level

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

message

The message to layout.