Yes - I was copying the same byte-casting code all over the file. I also want the log line to have more context.