Output exception details
mdub opened this issue · comments
A GreenLog::Entry
may include an exception
, but we currently don't do anything with it.
We need to extend SimpleWriter
and JsonWriter
to output exception details.
Open question: if log entry includes an exception, but no message (e.g. logger.info(e)
), should a message be inferred? And if so, should that be done by the Logger
, or by the Writer
classes?