lib/opentelemetry/sdk.rb in opentelemetry-sdk-1.0.0.rc1 vs lib/opentelemetry/sdk.rb in opentelemetry-sdk-1.0.0.rc2
- old
+ new
@@ -53,11 +53,11 @@
# end
#
# Configure everything
#
# OpenTelemetry::SDK.configure do |c|
- # c.logger = Logger.new('/dev/null')
+ # c.logger = Logger.new(File::NULL)
# c.add_span_processor SpanProcessor.new(SomeExporter.new)
# c.use_all
# end
def configure
configurator = Configurator.new
@@ -72,9 +72,10 @@
end
end
end
require 'opentelemetry/sdk/configurator'
+require 'opentelemetry/sdk/forwarding_logger'
require 'opentelemetry/sdk/internal'
require 'opentelemetry/sdk/instrumentation_library'
require 'opentelemetry/sdk/resources'
require 'opentelemetry/sdk/trace'
require 'opentelemetry/sdk/version'