C signatures on logging functions