Logging snippet using {host} placeholder for log filename

I would appreciate a way to have one log per host, which I do right now with multiple ˋlog` directives.

If I understand correctly, arguments could be a way to reproduce that setup with just one directive ?