Adding support for the `log` primitive