module Logging
module for logging. The AWS log will be stored in the user's home directory under .aws.log.
Public Class Methods
configure_logger_for(classname)
click to toggle source
# File lib/openstudio/lib/openstudio_aws_logger.rb, line 52 def configure_logger_for(classname) logger = Logger.new(File.expand_path('~/.aws.log')) logger.progname = classname logger end
logger_for(classname)
click to toggle source
# File lib/openstudio/lib/openstudio_aws_logger.rb, line 48 def logger_for(classname) @loggers[classname] ||= configure_logger_for(classname) end
Public Instance Methods
logger()
click to toggle source
# File lib/openstudio/lib/openstudio_aws_logger.rb, line 40 def logger @logger ||= Logging.logger_for(self.class.name) end