summaryrefslogtreecommitdiff
path: root/vendor/psr/log/src/LoggerAwareInterface.php
blob: cc46a95147cdde1bbcb86d792318640ddc971907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Psr\Log;

/**
 * Describes a logger-aware instance.
 */
interface LoggerAwareInterface
{
    /**
     * Sets a logger instance on the object.
     *
     * @param LoggerInterface $logger
     *
     * @return void
     */
    public function setLogger(LoggerInterface $logger): void;
}