/**
  * Get a parsed value
  * @param  string $key
  * @param  value $value
  * @return string
  */
 protected function getParsedValue($key, $value)
 {
     switch ($key) {
         case self::COLUMN_ID:
             $id = $value->getId();
             if ($this->useColors) {
                 $id = $this->color($id, $this->levelColors[$value->getLevel()]);
             }
             return $id;
         case self::COLUMN_DATE:
             $date = $value->getDate();
             if ($this->dateDecorator) {
                 $date = $this->dateDecorator->decorate($date);
             }
             return $date;
         case self::COLUMN_MEMORY:
             $memory = memory_get_usage();
             if ($this->memoryDecorator) {
                 $memory = $this->memoryDecorator->decorate($memory);
             }
             return $memory;
         case self::COLUMN_DURATION:
             return substr($value->getMicroTime(), 0, 5);
         case self::COLUMN_CLIENT:
             return $value->getClient();
         case self::COLUMN_SOURCE:
             return $value->getSource();
         case self::COLUMN_LEVEL:
             $level = $this->levels[$value->getLevel()];
             if ($this->useColors) {
                 $level = $this->color($level, $this->levelColors[$value->getLevel()]);
             }
             return $level;
         case self::COLUMN_TITLE:
             $title = $value->getTitle();
             if ($this->useColors) {
                 $title = $this->color($title, $this->levelColors[$value->getLevel()]);
             }
             return $title;
         case self::COLUMN_DESCRIPTION:
             $description = $value->getDescription();
             if (!empty($description)) {
                 return $description;
             }
         default:
             return null;
     }
 }