Configuring the Logging Service

Logging is provided trough the powerful Monolog library. Please read their documentation for more details: https://github.com/Seldaek/monolog.

The default handler will simply use the private/logs/app.log file to store application logs and errors.

'Filebrowser\Services\Logger\LoggerInterface' => [
   'handler' => '\Filebrowser\Services\Logger\Adapters\MonoLogger',
   'config' => [
       'monolog_handlers' => [
           function () {
               return new \Monolog\Handler\StreamHandler(

There are many different handlers you can add on top of this stack (monolog_handlers array). Some of them are listed here.