[Compass-ci] [PATCH v3 compass-ci 1/2] lib: add log.sh