Trait Psr\Log\LoggerAwareTrait

Basic Implementation of LoggerAwareInterface.

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$logger Psr\Log\LoggerInterface Psr\Log\LoggerAwareTrait

Public Methods

Hide inherited methods

MethodDescriptionDefined By
setLogger() Sets a logger. Psr\Log\LoggerAwareTrait

Property Details

$logger protected property

Method Details

setLogger() public method

Sets a logger.

public void setLogger ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface