Elgg\Logger::enable PHP Method

enable() public method

Restore logging and get record of log calls (after tests)
See also: disable
public enable ( ) : array
return array
    public function enable()
    {
        return array_pop($this->disabled_stack);
    }

Usage Example

 public function tearDown()
 {
     $this->logger->enable();
     $this->session->invalidate();
     $this->events->restore();
     $this->hooks->restore();
 }
All Usage Examples Of Elgg\Logger::enable