lithium\analysis\logger\adapter\FirePhp::write()

public method

Appends a log message to the response header for FirePHP.

Parameters

  • string $priority

    Represents the message priority.

  • string $message

    Contains the actual message to store.

Returns

boolean

Always returns true. Note that in order for message-writing to take effect, the adapter must be bound to the Response object instance associated with the current request. See the bind() method.

Source

	public function write($priority, $message) {
		return function($params) {
			$priority = $params['priority'];
			$message = $params['message'];
			$message = $this->_format($priority, $message);
			$this->_write($message);
			return true;
		};
	}