# File lib/mongo/monitoring/event/secure.rb, line 52 def redacted(command_name, document) REDACTED_COMMANDS.include?(command_name.to_s) ? BSON::Document.new : document end