/** * * Saves a message to the log. * * @param string $class The class that the message refers to. * * @param string $message The event message. * * @return void * */ protected function _log($class, $message) { $message = "{$class}: {$message}"; $this->_log->save(get_class($this), 'docs', $message); }
/** * * Saves an event and message to the log. * * @param string $event The log event type. * * @param string $message The log message. * * @return boolean True if saved, false if not, null if logging * not enabled. * * @see Solar_Test_Suite::$_log * * @see Solar_Log::save() * */ protected function _log($message) { $this->_log->save(get_class($this), 'test', $message); }