lib/slf4r/noop_logger.rb in slf4r-0.3.0 vs lib/slf4r/noop_logger.rb in slf4r-0.3.1

- old
+ new

@@ -3,14 +3,14 @@ def initialize(name) @name = name end - public + public attr_reader :name - + def debug? false end def debug(msg = nil, exception = nil) @@ -33,8 +33,15 @@ def error? false end def error(msg = nil, exception = nil) + end + + def fatal? + false + end + + def fatal(msg = nil, exception = nil) end end end