Skip to content

Commit

Permalink
disabled logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Joán Iglesias authored Oct 18, 2016
1 parent e76e3ee commit 015d6ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,11 @@ private function chooseVariant ($bucketingID, $userID, $inVariantMethod)

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

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

return $this->_cache[$bucketingID] = $v;
}
Expand Down

0 comments on commit 015d6ae

Please sign in to comment.