Method: Moped::Protocol::GetMore#log_inspect

Defined in:
lib/moped/protocol/get_more.rb

#log_inspectString

Provide the value that will be logged when the get more runs.

Examples:

Provide the log inspection.

get_more.log_inspect

Returns:

  • (String)

    The string value for logging.

Since:

  • 1.0.0



117
118
119
120
# File 'lib/moped/protocol/get_more.rb', line 117

def log_inspect
  type = "GET_MORE"
  "%-12s database=%s collection=%s limit=%s cursor_id=%s" % [type, database, collection, limit, cursor_id]
end