For debugging purposes, you may need to log Algolia requests and responses. To do so, you can activate the debug logger like so:
snippet#copy" class="copy-link snippet-action btn-satellite btn-satellite-white ml-8">
Copy
1
\\Algolia\\AlgoliaSearch\\Log\\DebugLogger::enable();
Keep in mind that enabling the DebugLogger outputs the raw content of every request and response to the console. Make sure to never enable the DebugLogger in production.