Skip to content

Commit 015d6ae

Browse files
author
Pablo Joán Iglesias
authored
disabled logging
1 parent e76e3ee commit 015d6ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Config.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,11 @@ private function chooseVariant ($bucketingID, $userID, $inVariantMethod)
321321

322322
list($v, $selector) = $_v;
323323

324-
if ($inVariantMethod && $v === self::OFF) {
324+
/*if ($inVariantMethod && $v === self::OFF) {
325325
$this->error('Variant check outside enabled check');
326326
}
327-
$this->_world->log($this->_name, $v, $selector);
327+
//uncomment this to enable logging
328+
$this->_world->log($this->_name, $v, $selector);*/
328329

329330
return $this->_cache[$bucketingID] = $v;
330331
}

0 commit comments

Comments
 (0)