TDI-30760: Compile error if Log the runtime value of component setting(FIELD="TEXT")
https://jira.talendforge.org/browse/TDI-30760
fix compile error when check log level before invoke log.debug/info/trace