use emit for logging
clean dist spmjs/spm-alipay-suite#4