You are here

interface LoggerAwareInterface in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Psr/Log/LoggerAwareInterface.php \Psr\Log\LoggerAwareInterface

Describes a logger-aware instance

Hierarchy

Expanded class hierarchy of LoggerAwareInterface

All classes that implement LoggerAwareInterface

File

lib/Psr/Log/LoggerAwareInterface.php, line 8

Namespace

Psr\Log
View source
interface LoggerAwareInterface {

  /**
   * Sets a logger instance on the object
   *
   * @param LoggerInterface $logger
   * @return null
   */
  public function setLogger(LoggerInterface $logger);

}

Members

Namesort descending Modifiers Type Description Overrides
LoggerAwareInterface::setLogger public function Sets a logger instance on the object