added log.h