silverstripe-fulltextsearch/code/utils/logging/SearchLogFactory.php

24 lines
463 B
PHP
Raw Normal View History

<?php
2017-04-21 02:27:01 +02:00
namespace SilverStripe\FullTextSearch\Utils\Logging;
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-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);
}