pytgl: Add a dummy callback for logprintf