Skip to content

LoggerAwareTrait

Basic Implementation of LoggerAwareInterface.

  • Full name: \Psr\Log\LoggerAwareTrait

Properties

logger

The logger instance.

protected \Psr\Log\LoggerInterface|null $logger

Methods

setLogger

Sets a logger.

public setLogger(\Psr\Log\LoggerInterface $logger): mixed

Parameters:

Parameter Type Description
$logger \Psr\Log\LoggerInterface


Automatically generated on 2025-03-18