public function write(Log $log)
	{
		if ($this->output === null)
		{
			throw new LogicException('You must specify an IOInterface for output first.');
		}

		$this->output->setContent(
			$this->renderer->render($log)
		);
	}
public function write(Log $log)
	{
		if ($this->output === null)
		{
			throw new LogicException('You must specify an IOInterface for output first.');
		}

		$this->output->setContent(
			$this->renderer->render($log)
		);
	}
public function write ( Log $ log ) { if ( $ this -> output === null ) { throw new LogicException ( 'You must specify an IOInterface for output first.' ) ; } $ this -> output -> setContent ( $ this -> renderer -> render ( $ log ) ) ; }
Writes out the given Log to the chosen output.

@param Log $log

@throws LogicException
Writes out the given Log to the chosen output .