add vic_log.h macros and optional logfile initialization