class Traces::Config

def require_backend(env = ENV)

Require a specific traces backend implementation.
def require_backend(env = ENV)
	if backend = env["TRACES_BACKEND"]
		begin
			if require(backend)
				# We ensure that the interface methods replace any existing methods by prepending the module:
				Traces.singleton_class.prepend(Backend::Interface)
				
				return true
			end
		rescue LoadError => error
			warn "Unable to load traces backend: #{backend.inspect}!"
		end
	end
	
	return false
end