Mobile Plugin: Support log output and fix program output