ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
LoggerAwareTrait.php
Go to the documentation of this file.
1<?php
2
3namespace Psr\Log;
4
9{
15 protected $logger;
16
22 public function setLogger(LoggerInterface $logger)
23 {
24 $this->logger = $logger;
25 }
26}
An exception for terminatinating execution or to throw for unit testing.
Describes a logger instance.
trait LoggerAwareTrait
Basic Implementation of LoggerAwareInterface.
setLogger(LoggerInterface $logger)
Sets a logger.