protected function format($string = '', $type = '', $lineBreak = false)
    {
        // Formatted log entry
        $formatted = $string;

        // Format only if value is passed
        if (isset($string[1])) {
            $formatted = ' '.(strlen($type) ? $type.':' : '').' '.$string.
                (($lineBreak) ? $this->lineBreak : '');
        }

        // return the formatted log-content
        return $formatted;
    }