algoliasearch-client-swift
algoliasearch-client-swift copied to clipboard
SearchConfiguration.logLevel has no effect
After updating to v8.20.0 we noticed that all request and response data is logged with the log type/level debug.
Changing the SearchConfiguration.logLevel has no effect. Logs of all levels/types are generated independent of the setting value.
var config = SearchConfiguration(applicationID: "xxx", apiKey: "yyy")
config.logLevel = .error
let client = SearchClient(configuration: config)
We were expecting that the log level acted as a minimum level and logs of a lower level are not generated.