/** * Logs a variable to the console * * @param mixed $data The data to log to the console * * @return void */ public function log($data) { if (!$this->is_enabled()) { return; } $this->_console->log($data); }