Added param functionality to log_error proc