Simple logging support
If set, record all log messages (at all levels) in memory and dump to this directory on error. Useful for tracking down intermittent bugs.
Dump all recorded log entries to the crash handler set with
If there is no handler, or the log is empty, does nothing. This is called automatically
after logging at level Warning.