That would be convenient. However, it's important that the default case
(no adapter chosen - the null adapter) be a no-op and have no
performance cost, so that module authors are comfortable using logging
statements liberally. In this case to be consistent the null adapter
would still have to format the message and return it.
On Wed Apr 14 14:57:33 2010, SHARYANTO wrote:
Show quoted text> How about the log methods returning the generated string? That would
> enable us to write, among others:
>
> die $log->fatalf("blah %s", $blah);
>