Sha256: 968bac2f58882ce0a4f9177608c04d0640b95fadba31d1e65bf5801cfcc9be59

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

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

require 'logger'

module URBANopt
  module REopt
    @@reopt_logger = Logger.new($stdout)

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
urbanopt-reopt-0.11.0 lib/urbanopt/reopt/reopt_logger.rb
urbanopt-reopt-0.10.0 lib/urbanopt/reopt/reopt_logger.rb