Logger methods can accept blocks, instead of arguments.