log() log(string $type, string $msg) : void 写入日志文件 Parameters string $type string $msg Throws \Async\FileException