Class: Dnsruby::TheLog
- Inherits:
-
Object
- Object
- Dnsruby::TheLog
- Defined in:
- lib/Dnsruby/TheLog.rb
Overview
This class exists for backwards compatibility.
It’s Logger (which defaults to STDOUT, level FATAL) can be configured, or a new Logger can be supplied.
Dnsruby::TheLog.level=Logger::DEBUG Dnsruby::TheLog.debug(“Debug message”)
Class Method Summary collapse
-
.method_missing(symbol, *args) ⇒ Object
:nodoc: all.
Instance Method Summary collapse
- #level ⇒ Object
-
#level=(level) ⇒ Object
Change the Logger level.
-
#set_logger(logger) ⇒ Object
Set a new Logger for use by Dnsruby.