Module: RUtilAnts::Logging

Defined in:
lib/rUtilAnts/Logging.rb

Defined Under Namespace

Modules: LoggerInterface Classes: Logger

Constant Summary collapse

GUI_WX =

Constants used for GUI dialogs selection

0

Class Method Summary collapse

Class Method Details

.install_logger_on_object(iOptions = {}) ⇒ Object

Set Object as a logger.

Parameters
  • iOptions (map<Symbol,Object>): Options (see RUtilAnts::Logging::Logger::initialize documentation for options) [optional = {}]



432
433
434
435
436
# File 'lib/rUtilAnts/Logging.rb', line 432

def self.install_logger_on_object(iOptions = {})
  require 'rUtilAnts/SingletonProxy'
  RUtilAnts::make_singleton_proxy(RUtilAnts::Logging::LoggerInterface, Object)
  init_logger(iOptions)
end