ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.