Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Displaying writers logged events #77

Open
rmoayinla opened this issue Aug 26, 2017 · 2 comments
Open

Displaying writers logged events #77

rmoayinla opened this issue Aug 26, 2017 · 2 comments

Comments

@rmoayinla
Copy link

rmoayinla commented Aug 26, 2017

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
Copy link
Contributor

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

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-log; a new issue has been opened at laminas/laminas-log#1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants