We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c69c881 + c76ee29 commit f1b1db3Copy full SHA for f1b1db3
src/Diagnostics/LogRequestsToDisk.php
@@ -30,7 +30,7 @@ class LogRequestsToDisk
30
*/
31
public function __construct($enableServiceRequestLogging=false, $serviceRequestLoggingLocation=null)
32
{
33
- $this->EnableServiceRequestsLogging = $enableServiceRequestLogging;
+ $this->EnableServiceRequestsLogging = (!empty($enableServiceRequestLogging) && ("false" !== strtolower(trim($enableServiceRequestLogging))));
34
$this->ServiceRequestLoggingLocation = $serviceRequestLoggingLocation;
35
}
36
0 commit comments