protected function printLn($message, $type='general', $out=true)
    {
        if (null == $message) {
            return;
        }
        if (null != $this->output) {
            $message = (null == $type) ? $message : "<{$type}>{$message}</{$type}>";
            if (true == $out) {
                $this->output->writeLn($message);
            }
        }
        $this->getLog()->addInfo($message, array('type' => $type));
    }