module Pod4

Pod4, which:

For more information:

Constants

VERSION

Public Class Methods

logger() click to toggle source

Return a logger instance if you set one using set_logger. Otherwise, return a logger instance that points to a DevNull IO object.

# File lib/pod4.rb, line 49
def self.logger
  Param.get(:logger) || Logger.new( DevNull.new )
end
set_logger(instance) click to toggle source

If you have a logger instance, set it here to have Pod4 models and interfaces write to it.

# File lib/pod4.rb, line 40
def self.set_logger(instance)
  Param.set(:logger, instance)
end