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