zendframework / zend-log

Log component from Zend Framework
BSD 3-Clause "New" or "Revised" License
62 stars 51 forks source link

Displaying writers logged events #77

Open rmoayinla opened 7 years ago

rmoayinla commented 7 years ago

Thanks for this standard logger library, currently using this logger to log events in wordpress and its working fine, though I'm majorly using just the "Stream" writer, I think there should be a beautiful way of displaying logged events from each writer. since all writers has a formatter, and these formatters implement the "Formatter" interface, there is a method "format" called when writing to logs, wouldnt it be beautiful to have "deformat" (dont mind the name) method that re-arrange/restyle the events when you want to display it, then each writer have a method "getErrorlogs" (again dont mind the name ), to show events logged in the writer class.

Already working on an implementation of this, just want to hear from you guys what you think

dennybrandes commented 6 years ago

Sounds like you need original event which is send to writers back.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-log; a new issue has been opened at https://github.com/laminas/laminas-log/issues/1.