mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-24 16:10:38 -06:00
21 lines
373 B
PHP
21 lines
373 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink;
|
|
|
|
use Shlinkio\Shlink\Common\Logger\LoggerType;
|
|
|
|
use function Shlinkio\Shlink\Config\runningInRoadRunner;
|
|
|
|
return [
|
|
|
|
'logger' => [
|
|
'Shlink' => [
|
|
'type' => LoggerType::STREAM->value,
|
|
'destination' => runningInRoadRunner() ? 'php://stderr' : 'php://stdout',
|
|
],
|
|
],
|
|
|
|
];
|