Class Dnsruby::TheLog
In: lib/Dnsruby/TheLog.rb
Parent: Object

This singleton class holds a reference to the Logger object used by the whole of the Dnsruby project.

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")

Methods

level   level=   set_logger  

Included Modules

Singleton

Public Instance methods

Change the Logger level.

Set a new Logger for use by Dnsruby

[Validate]