2015-07-16 08:18:04 +02:00
|
|
|
<?php
|
2017-04-26 13:24:51 +02:00
|
|
|
|
2017-04-21 02:27:01 +02:00
|
|
|
namespace SilverStripe\FullTextSearch\Utils\Logging;
|
2017-04-26 13:24:51 +02:00
|
|
|
|
2015-07-16 08:18:04 +02:00
|
|
|
use Psr\Log;
|
|
|
|
|
2015-11-21 07:19:20 +01:00
|
|
|
interface SearchLogFactory
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Make a logger for a queuedjob
|
|
|
|
*
|
|
|
|
* @param QueuedJob $job
|
|
|
|
* @return Log
|
|
|
|
*/
|
|
|
|
public function getQueuedJobLogger($job);
|
2015-07-16 08:18:04 +02:00
|
|
|
|
2015-11-21 07:19:20 +01: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 08:18:04 +02:00
|
|
|
}
|