sing for log
format code