add code for parsing property 'file'
add feature: log to file
flush and sync data to disk immediately
fix date format in log file
if logfiledir equals 'internal' or 'external', and package name can not
be read, it will not starting file log
change version to 0.3.0-RELEASE
use filepath instand of dirpath in value of property 'file'
update Readme.md