enygma / expose

An Intrusion Detection System library loosely based on PHP IDS
MIT License
266 stars 55 forks source link

Replace direct monolog dependency with PSR-3 logger #13

Closed lstrojny closed 11 years ago

lstrojny commented 11 years ago

Instead of depending directly on monolog, expose should suggest installing monolog but use any PSR-3 compatible logger.

enygma commented 11 years ago

You can use the "setLogger" method on the Manage class to set up any PSR-3 logger you want. It will still, by default, use Monolog tough, so I'm keeping the dependency in the composer.json.