Method: Mongo::Monitoring::Event::CommandStarted#inspect

Defined in:
lib/mongo/monitoring/event/command_started.rb

#inspectString

Returns a concise yet useful summary of the event.

Returns:

  • (String)

    String summary of the event.

Since:

  • 2.6.0



179
180
181
# File 'lib/mongo/monitoring/event/command_started.rb', line 179

def inspect
  "#<{#{self.class} #{database_name}.#{command_name} command=#{command}>"
end