Method: Moped::Protocol::Command#log_inspect

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

#log_inspectString

Provide the value that will be logged when the command runs.

Examples:

Provide the log inspection.

command.log_inspect

Since:

  • 1.0.0



65
66
67
68
# File 'lib/moped/protocol/command.rb', line 65

def log_inspect
  type = "COMMAND"
  "%-12s database=%s command=%s" % [type, database, selector.inspect]
end