How can I log information out in a Module using Jinja?

The problem I’m having

How can I print something to a log from inside module Jinja template? I want some diagnostic information to appear when I run dbt run?

The context of why I’m trying to do this

I want this information to appear in the log, not the outputted compiled module .