Log::append PHP Method

append() static public method

文件追加写入
static public append ( string $filename, string $content, $type = '' ) : boolean
$filename string 文件名
$content string 追加的文件内容
return boolean
    static function append($filename, $content, $type = '')
    {
        if (is_file($filename)) {
            $content = self::read($filename, $type) . $content;
        }
        return self::put($filename, $content, $type);
    }