Add log function to flash_avr cfg module.