Updated to monolog 3

This commit is contained in:
Alejandro Celaya
2022-06-04 08:59:17 +02:00
parent a20b99e643
commit 52a6d55e5d
6 changed files with 36 additions and 98 deletions

View File

@@ -4,22 +4,13 @@ declare(strict_types=1);
namespace Shlinkio\Shlink;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Shlinkio\Shlink\Common\Logger\LoggerType;
return [
'logger' => [
'Shlink' => [
'handlers' => [
'shlink_handler' => [
'name' => StreamHandler::class,
'params' => [
'level' => Logger::INFO,
'stream' => 'php://stdout',
],
],
],
'type' => LoggerType::STREAM->value,
],
],