Skip to content

Commit

Permalink
Merge pull request #22 from mandre/master
Browse files Browse the repository at this point in the history
em-ssh throws exception when no logger is defined
  • Loading branch information
gruis committed Apr 18, 2013
2 parents 3b3b5f8 + 16cdb35 commit 34ba9ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/em-ssh/connection/channel/null-logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class Connection
class Channel
class NullLogger < ::Logger

def initialize
super(nil)
end

def add(*params, &block)
nil
end
Expand Down

0 comments on commit 34ba9ee

Please sign in to comment.