Where to emit the calling my_cuda_mylog_rule function

as the picture show, i can call the function that i register, but i can not find where to emit the calling my_cuda_mylog_rule function to do the log’s operation