xref: /plugin/smtp/subtree/php-fig/log/Psr/Log/LoggerAwareInterface.php (revision ae1ee236f55bbd7fd5e41a98f6cc93dbe5a5b903)
1*ae1ee236SAndreas Gohr<?php
2*ae1ee236SAndreas Gohr
3*ae1ee236SAndreas Gohrnamespace Psr\Log;
4*ae1ee236SAndreas Gohr
5*ae1ee236SAndreas Gohr/**
6*ae1ee236SAndreas Gohr * Describes a logger-aware instance.
7*ae1ee236SAndreas Gohr */
8*ae1ee236SAndreas Gohrinterface LoggerAwareInterface
9*ae1ee236SAndreas Gohr{
10*ae1ee236SAndreas Gohr    /**
11*ae1ee236SAndreas Gohr     * Sets a logger instance on the object.
12*ae1ee236SAndreas Gohr     *
13*ae1ee236SAndreas Gohr     * @param LoggerInterface $logger
14*ae1ee236SAndreas Gohr     *
15*ae1ee236SAndreas Gohr     * @return null
16*ae1ee236SAndreas Gohr     */
17*ae1ee236SAndreas Gohr    public function setLogger(LoggerInterface $logger);
18*ae1ee236SAndreas Gohr}
19