add example usage of the log_c C logging call