support disable pretty printing records encountered at compile time

I don't want put record info in beam when our server deploy, and we will not use pretty printing records