module Rfd

Constants

VERSION

Attributes

logger[R]

Public Class Methods

log(str) click to toggle source
# File lib/rfd/logging.rb, line 16
def log(str)
  Rfd.logger.debug str if Rfd.logger
end
log_to(file) click to toggle source
# File lib/rfd/logging.rb, line 9
def log_to(file)
  @logger = Logger.new file
  @logger.debug 'hello'

  Rfd::Controller.include Logging
end