require 'chrono'
require 'addressable'
require 'aws-sdk'
require 'retryable'
require 'faraday'
require 'html/pipeline'

require "kuroko2/engine"
require "kuroko2/configuration"

module Kuroko2
  class << self
    def logger
      @logger ||= defined?(Rails) && Rails.env.test? ? Rails.logger : Util::Logger.new($stdout)
    end

    def logger=(logger)
      @logger = logger
    end

    def config
      Configuration.config
    end
  end
end

require 'chrono'
require 'addressable'
require 'aws-sdk'
require 'retryable'
require 'faraday'
require 'html/pipeline'

require "kuroko2/engine"
require "kuroko2/configuration"
require "kuroko2/util/logger"

module Kuroko2
  class << self
    def logger
      @logger ||= defined?(Rails) && Rails.env.test? ? Rails.logger : Util::Logger.new($stdout)
    end

    def logger=(logger)
      @logger = logger
    end

    def config
      Configuration.config
    end
  end
end

Fix bug: uninitialized constant Util (NameError)
Fix bug: uninitialized constant Util (NameError)
