Simple log for C.