Mac: factored out the delegate logging