mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-04 12:12:03 +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',
|
|
],
|
|
],
|
|
|
|
];
|