powered by
This function sets a hook to trigger log_info() when message is called to log the informative messages with the global logger layout and appender.
log_info()
message
logger
log_messages()
if (FALSE) { log_messages() message("hi there") }
Run the code above in your browser using DataLab