Change method name to logSuccess