lib/blather.rb in blather-0.5.12 vs lib/blather.rb in blather-0.6.0

- old
+ new

@@ -45,10 +45,12 @@ blather/stanza/message blather/stanza/presence blather/stanza/presence/c blather/stanza/presence/status blather/stanza/presence/subscription + blather/stanza/presence/muc + blather/stanza/presence/muc_user blather/stanza/pubsub blather/stanza/pubsub/affiliations blather/stanza/pubsub/create blather/stanza/pubsub/event @@ -83,10 +85,10 @@ class << self # Default logger level. Any internal call to log() will forward the log message to # the default log level attr_accessor :default_log_level - + def logger @@logger ||= Logger.new($stdout).tap {|logger| logger.level = Logger::INFO } end def logger=(logger)