Item9906: make the Loggers optionally more expressive - use a hash for the fields.
Priority: Normal
Current State: Duplicate
Released In: n/a
Target Release: n/a
because dementing the logs is un-necessary.
ie, add
Logger::notsolossylog($this, $level, \%fields)
i want to use Loggers to abstract Monitor - and having field names will make a
MongoDBLogger and an DBILogger more useful.
--
SvenDowideit - 27 Oct 2010
Reasonable. I only did the logs the way I did to try and maintain compatibility; a vain hope, as it turned out. Frankly, I find (from long experience with the apache log) that tabular logs or more trouble than they are worth. A serialised hash would work fine.
--
CrawfordCurrie - 19 Mar 2011
Cool.
RedesignLoggerAPI pretty much does this. However goes to a complete hash interface for events.
Logger::log( {level => ... })
--
GeorgeClark - 02 Oct 2012
I think we can set this to Duplicate?
--
GeorgeClark - 24 Oct 2012