Thanks, logging with different “debug levels” sounds a better alternative than printing (to me!).
@mjmat @kousu As you have discovered, Julai has some logging infrastructure built in. Here is the page from the manual which you may find helpful:
Building on this infrastructure there is a bit of an ecosystem in the JuliaLogging GitHub Org providing more controls.