Object
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")
# File lib/Dnsruby/TheLog.rb, line 36
36: def level
37: return Dnsruby.log.level
38: end
Change the Logger level.
# File lib/Dnsruby/TheLog.rb, line 33
33: def level=(level)
34: Dnsruby.log.level = level
35: end
Set a new Logger for use by Dnsruby
# File lib/Dnsruby/TheLog.rb, line 29
29: def set_logger(logger)
30: Dnsruby.log = logger
31: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.