log.c:LOG() simplify branch