lib/sc4ry/logger.rb in sc4ry-0.1.1 vs lib/sc4ry/logger.rb in sc4ry-0.1.2
- old
+ new
@@ -17,10 +17,10 @@
return @@loggers[@@current]
end
def Logger.current=(sym)
raise "Logger not define : #{sym}" unless @@loggers.keys.include? sym
- @@default = sym
+ @@current = sym
end
def Logger.register(options = {})
@@loggers[options[:name]] = options[:instance]
end