Sha256: 5059a0dd9c6fa1c122c5bd0b39e7757625d2e490d41e08b08de2831c43940f71

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

# *********************************************************************************
# URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://github.com/urbanopt/urbanopt-reporting-gem/blob/develop/LICENSE.md
# *********************************************************************************

require 'logger'

module URBANopt
  module Reporting
    module DefaultReports
      @@logger = Logger.new($stdout)

      @@logger.level = Logger::WARN
      ##
      # Definining class variable "@@logger" to log errors, info and warning messages.
      def self.logger
        @@logger
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
urbanopt-reporting-0.10.0 lib/urbanopt/reporting/default_reports/logger.rb
urbanopt-reporting-0.9.1 lib/urbanopt/reporting/default_reports/logger.rb
urbanopt-reporting-0.9.0 lib/urbanopt/reporting/default_reports/logger.rb
urbanopt-reporting-0.8.0 lib/urbanopt/reporting/default_reports/logger.rb