lib/basquiat.rb in basquiat-1.1.1 vs lib/basquiat.rb in basquiat-1.2.0
- old
+ new
@@ -1,10 +1,11 @@
require 'multi_json'
require 'naught'
require 'yaml'
require 'basquiat/support'
+require 'basquiat/errors'
require 'basquiat/adapters'
require 'basquiat/version'
require 'basquiat/interfaces/base'
# Overall namespace And config class
@@ -18,9 +19,13 @@
@configuration ||= Configuration.new
end
def configure
yield configuration
+ end
+
+ def logger
+ configuration.logger
end
end
end
require_relative 'basquiat/rails/railtie.rb' if defined?(Rails)