19 lines
297 B
PHP
19 lines
297 B
PHP
|
<?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);
|
||
|
}
|