Update logging so that it compiles properly - turns out the function I was using wasn't exposed publicly