ptaoussanis/timbre — pull request #19 by malcolmsparks (2013-06-18 11:57:19+00:00)
Title: Using pr rather than print for non-string objects (by default).

Hi Peter,

This request came from one of my clients who is logging data-structures and would like to be able to log them in a form he can read back in (during REPL development) without having to do so much hand-editing. By using pr rather than print, you get the following :-

INFO The map was {:status 2 :message "Hello"}

rather than

INFO The map was {:status 2 :message Hello}

This might be something that is better done via switchable config. Some people like to use 'logs as data' and make it easier for a machine to read the data back in.

Regards,

Malcolm