mdub / green_log

a logging library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

Implemented in f4e5f96 and a0e8568.