mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-11 03:44:26 +02:00
Hard-deprecation for now unused factory classes
This commit is contained in:
parent
d410758cdd
commit
60ad014a6e
6 changed files with 18 additions and 2 deletions
|
@ -18,6 +18,8 @@ use Throwable;
|
|||
|
||||
/**
|
||||
* The logger factory for the core logging instances
|
||||
*
|
||||
* @deprecated 2025.02 Implement `\Friendica\Core\Logger\Factory\LoggerFactory` instead
|
||||
*/
|
||||
class Logger
|
||||
{
|
||||
|
@ -26,6 +28,8 @@ class Logger
|
|||
|
||||
public function __construct(string $channel = LogChannel::DEFAULT)
|
||||
{
|
||||
@trigger_error('Class `' . __CLASS__ . '` is deprecated since 2025.02 and will be removed after 5 months, implement `\Friendica\Core\Logger\Factory\LoggerFactory` instead.', E_USER_DEPRECATED);
|
||||
|
||||
$this->channel = $channel;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue