Fixed user utility log function to take parameters in right order