You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
297 B

2 years ago
  1. <?php
  2. namespace Psr\Log;
  3. /**
  4. * Describes a logger-aware instance.
  5. */
  6. interface LoggerAwareInterface
  7. {
  8. /**
  9. * Sets a logger instance on the object.
  10. *
  11. * @param LoggerInterface $logger
  12. *
  13. * @return void
  14. */
  15. public function setLogger(LoggerInterface $logger);
  16. }