mirror of
https://github.com/friendica/friendica
synced 2024-11-11 11:42:53 +00:00
type-hints
This commit is contained in:
parent
4b82e47034
commit
0d096cf32e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class LoggerFactory
|
||||||
*
|
*
|
||||||
* @return LoggerInterface The PSR-3 compliant logger instance
|
* @return LoggerInterface The PSR-3 compliant logger instance
|
||||||
*/
|
*/
|
||||||
public static function create($channel, $config = null)
|
public static function create($channel, ConfigCache $config = null)
|
||||||
{
|
{
|
||||||
$logger = new Monolog\Logger($channel);
|
$logger = new Monolog\Logger($channel);
|
||||||
$logger->pushProcessor(new Monolog\Processor\PsrLogMessageProcessor());
|
$logger->pushProcessor(new Monolog\Processor\PsrLogMessageProcessor());
|
||||||
|
|
Loading…
Reference in a new issue