You are here

LoggerAwareInterface.php in Service Container 7

Same filename and directory in other branches
  1. 7.2 lib/Psr/Log/LoggerAwareInterface.php

Namespace

Psr\Log

File

lib/Psr/Log/LoggerAwareInterface.php
View source
<?php

namespace Psr\Log;


/**
 * Describes a logger-aware instance
 */
interface LoggerAwareInterface {

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

}

Interfaces

Namesort descending Description
LoggerAwareInterface Describes a logger-aware instance