DEV Community

sebk69
sebk69

Posted on • Updated on

small-logger

Small php logger is a simple php logger you can easily extends for your own need.

Basically, it implements possibility to log to :
Standard output
File (With log rotates)
Http service such as logstash

It it easy to implement your own Formatter or Output writer.

SwitchLogicInterface allow you to implements your own logic to manage multiple log streams.

It also possible to add shortcut to logger for easier use by final developer.

There is two composer packages :
sebk/small-logger which allow using for "from scratch" projects : https://github.com/sebk69/small-logger
sebk/small-logger-bundle is a symfony bridge for sebk/small-logger : https://github.com/sebk69/small-logger-bundle

Top comments (0)