25    public function format(array $record)
 
   27        foreach ($record as 
$key => $value) {
 
   42        if (is_array($normalized) || is_object($normalized)) {
 
   43            return $this->
toJson($normalized, 
true);
 
An exception for terminatinating execution or to throw for unit testing.