Create new LoggerFactory

This commit is contained in:
Art4 2025-01-10 10:30:11 +00:00
parent 275b383be7
commit 9bcb470caa
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<?php
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
declare(strict_types=1);
namespace Friendica\Core\Logger\Factory;
use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;
/**
* The logger factory for the core logging instances
*/
final class LoggerFactory
{
public function create(): LoggerInterface
{
return new NullLogger();
}
}