log to file asynchronously and with a quota-setting ability, based on Android platform.