Skip to content

Commit

Permalink
some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanheim committed Jun 28, 2008
1 parent ef8a23c commit d40e1f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/grit.rb
Expand Up @@ -28,8 +28,11 @@
require 'grit/index'

module Grit

class << self
# Set +debug+ to true to log all git calls and responses
attr_accessor :debug
# The standard +logger+ for debugging git calls - this defaults to a plain STDOUT logger
attr_accessor :logger
def log(str)
logger.debug { str }
Expand Down

0 comments on commit d40e1f0

Please sign in to comment.