lib/rocket_job/extensions/mongo.rb in rocketjob-2.0.0.rc1 vs lib/rocket_job/extensions/mongo.rb in rocketjob-2.0.0.rc2
- old
+ new
@@ -11,10 +11,10 @@
# Cleanup output
def log(level, msg)
MongoClient.logger.send(level, msg)
end
- protected
+ private
def log_operation(name, payload, duration)
MongoClient.logger.benchmark_trace(name, duration: (duration * 1000), payload: payload)
end