You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration is not (yet) implemented, but you could easily extend the given MonologListener by your own Listener/Logger implementation or make some PR :)
As an example you could write a simple class like:
<?php
namespace Foo\Bar\CustomMonologListener;
use Monolog\Logger;
class CustomMonologLogger extends MonologListener
{
/**
* Override parent constructor with your custom configuration
*/
public function __construct()
{
$this->log = new Logger(self::LOG_PHING);
// ... do some more with it here
}
}
We want to use Monolog in our Projects. In these Projects we also use Phing.
Could you add an Example which describes how to use/configure the MonologListener?
The text was updated successfully, but these errors were encountered: