Uses the Logger.print function instead of Printf.eprintf