Add log to package.json

it is better to divide the log into serveral level