1. improve CLangPrinter trait
2. use logger.isDebugEnabled for eliminate performance issues