accept `log` option