Firesphere\SolrSearch\Helpers\SolrLogger
Class SolrLogger
Log information from Solr to the CMS for reference
Synopsis
class SolrLogger
{
- // methods
- public void __construct()
- public static void logMessage()
- public void saveSolrLog()
- private void findOrCreateLog()
- public Client getClient()
- public SolrLogger setClient()
- public array getOptions()
- public void setOptions()
Members
protected
- $client — GuzzleHttp\Client
- $options — array
Methods
private
- findOrCreateLog() — Attempt to find, otherwise create, a log object
public
- __construct() — SolrLogger constructor.
- getClient() — Return the Guzzle Client
- getOptions() — Get the options for Guzzle
- logMessage() — Log the given message and dump it out.
- saveSolrLog() — Save the latest Solr errors to the log
- setClient() — Set the Guzzle client
- setOptions() — Set custom options for Guzzle