thaljef/Pinto — pull request #7 by karenetheridge (2012-03-29 22:11:04+00:00)
Title: Topic/new logger

This removes the custom implementation of Pinto::Logger and replaces it with calls to Log::Dispatch, which is wonderfully extensible - for now it is just using Log::Dispatch::Screen::Color as an output (and Filehandle as a hook just for the t/07-logger.t tests), but in the future can use output channels like DBI, File, Syslog etc.

I tried not to change the API (although I saw your invitation to do so on an earlier thread) :), and just added aliases where appropriate - changing the method names that everything calls can be done in separate commits. I wanted to keep the diffs to a minimum where possible, to avoid confusion :)