mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
20 lines
373 B
PHP
20 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',
|
|
],
|
|
],
|
|
|
|
];
|