Open GoogleCodeExporter opened 9 years ago
Thanks for the submission. I'll probably take a slightly different approach that
requires a log object to be assigned via a setter before use.
Original comment by justin.h...@gmail.com
on 1 Dec 2008 at 10:34
Okay. Either way, getLog() will need to return an instance of Zend_Log, so anull
writer will need to be added, right?
Original comment by konrn...@gmail.com
on 3 Dec 2008 at 5:17
Technically speaking, I'm decoupling the creation of the log object from the
helper,
making it something the user has to do, which would include creating a log with
a
null writer.
To bridge the gap, the default behavior of the log factory could be changed to
include a null writer to prevent errors "out-of-the-box". Currently the log
factory
loads /application/config/log.php, which is empty, to setup the log object.
Original comment by justin.h...@gmail.com
on 3 Dec 2008 at 4:55
Original issue reported on code.google.com by
konrn...@gmail.com
on 1 Dec 2008 at 10:22