best way to log to the splunk

What is the best way to log to the splunk while using ansible from cli?

Regards.