mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
24 lines
367 B
PHP
24 lines
367 B
PHP
|
<?php
|
||
|
|
||
|
use Psr\Log;
|
||
|
|
||
|
interface SearchLogFactory {
|
||
|
|
||
|
/**
|
||
|
* Make a logger for a queuedjob
|
||
|
*
|
||
|
* @param QueuedJob $job
|
||
|
* @return Log
|
||
|
*/
|
||
|
public function getQueuedJobLogger($job);
|
||
|
|
||
|
/**
|
||
|
* Get an output logger with the given verbosity
|
||
|
*
|
||
|
* @param string $name
|
||
|
* @param bool $verbose
|
||
|
* @return Log
|
||
|
*/
|
||
|
public function getOutputLogger($name, $verbose);
|
||
|
}
|