2015-07-16 18:18:04 +12:00
|
|
|
<?php
|
2017-04-26 23:24:51 +12:00
|
|
|
|
2017-04-21 12:27:01 +12:00
|
|
|
namespace SilverStripe\FullTextSearch\Utils\Logging;
|
2017-04-26 23:24:51 +12:00
|
|
|
|
2015-07-16 18:18:04 +12:00
|
|
|
use Psr\Log;
|
|
|
|
|
2015-11-21 19:19:20 +13:00
|
|
|
interface SearchLogFactory
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Make a logger for a queuedjob
|
|
|
|
*
|
|
|
|
* @param QueuedJob $job
|
|
|
|
* @return Log
|
|
|
|
*/
|
|
|
|
public function getQueuedJobLogger($job);
|
2015-07-16 18:18:04 +12:00
|
|
|
|
2015-11-21 19:19:20 +13:00
|
|
|
/**
|
|
|
|
* Get an output logger with the given verbosity
|
|
|
|
*
|
|
|
|
* @param string $name
|
|
|
|
* @param bool $verbose
|
|
|
|
* @return Log
|
|
|
|
*/
|
|
|
|
public function getOutputLogger($name, $verbose);
|
2015-07-16 18:18:04 +12:00
|
|
|
}
|