Skip to content

Commit

Permalink
Debug mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Weaver committed Aug 25, 2009
1 parent 16d7134 commit db8bf16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cassandra.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@
require 'cassandra/protocol'
require 'cassandra/cassandra'
require 'cassandra/constants'
require 'cassandra/debug' if ENV['DEBUG']
7 changes: 7 additions & 0 deletions lib/cassandra/debug.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

class CassandraThrift::Cassandra::Client
def send_message(*args)
pp args
super
end
end

0 comments on commit db8bf16

Please sign in to comment.