This function uses trace to add a log_info function call when message is called to log the informative messages with the logger layout and appender.

log_messages()

Examples

if (FALSE) {
log_messages()
message('hi there')
}