shlink/docker/config/shlink_in_docker.local.php

21 lines
373 B
PHP
Raw Normal View History

2019-08-16 11:38:26 -05:00
<?php
2019-10-05 10:26:10 -05:00
2019-08-16 11:38:26 -05:00
declare(strict_types=1);
namespace Shlinkio\Shlink;
2022-06-04 01:59:17 -05:00
use Shlinkio\Shlink\Common\Logger\LoggerType;
2019-08-16 11:38:26 -05:00
use function Shlinkio\Shlink\Config\runningInRoadRunner;
2019-08-16 11:38:26 -05:00
return [
'logger' => [
'Shlink' => [
2022-06-04 01:59:17 -05:00
'type' => LoggerType::STREAM->value,
'destination' => runningInRoadRunner() ? 'php://stderr' : 'php://stdout',
2019-08-16 11:38:26 -05:00
],
],
];