Skip to content

Commit

Permalink
Merge pull request #7 from khushijain21/rubybridge2
Browse files Browse the repository at this point in the history
feat: add check for logs sdk
  • Loading branch information
kaylareopelle authored May 21, 2024
2 parents b0b301f + e6799ff commit b0da0f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base
end

present do
defined?(::Logger)
defined?(::Logger) && defined?(::OpenTelemetry::SDK::Logs)
end

option :name, default: OpenTelemetry::Instrumentation::Logger::NAME, validate: :string
Expand Down

0 comments on commit b0da0f1

Please sign in to comment.