Seems to be a mixture of println or logging - can we use logging everywhere?