diff --git a/lib/em-ssh/connection/channel/null-logger.rb b/lib/em-ssh/connection/channel/null-logger.rb index 4f37d5c..a849aba 100644 --- a/lib/em-ssh/connection/channel/null-logger.rb +++ b/lib/em-ssh/connection/channel/null-logger.rb @@ -6,6 +6,10 @@ class Connection class Channel class NullLogger < ::Logger + def initialize + super(nil) + end + def add(*params, &block) nil end