Skip to content

Instantly share code, notes, and snippets.

View cpetersen's full-sized avatar

Christopher Petersen cpetersen

View GitHub Profile
module CouchRest
class Logger
def self.log
Thread.current["couchrest.logger"] ||= {:queries => []}
end
def initialize(app, db=nil)
@app = app
@db = db