Create log.c

log.c