Add asserts to radlog functions