Adding support for parameters in the log wrapper