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

24 lines
411 B
PHP
Raw Normal View History

<?php
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);
}