Log::append PHP 메소드

append() 정적인 공개 메소드

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