Skip to content

Add logger dependency#165

Closed
dentarg wants to merge 1 commit intonjh:mainfrom
dentarg:logger-dependency
Closed

Add logger dependency#165
dentarg wants to merge 1 commit intonjh:mainfrom
dentarg:logger-dependency

Conversation

@dentarg
Copy link

@dentarg dentarg commented Aug 30, 2025

The logger gem will not be bundled with future Ruby versions. https://github.com/ruby/ruby/blob/master/doc/standard_library.md

Noticed this warning when using the gem:

/Users/dentarg/.arm64_rubies/3.4.3/lib/ruby/gems/3.4.0/gems/mqtt-0.6.0/lib/mqtt.rb:3:
warning: logger was loaded from the standard library, but will no
longer be part of the default gems starting from Ruby 3.5.0.  You
can add logger to your Gemfile or gemspec to silence this warning.

This change ensures the gem keep working with Ruby 3.5+.

The `logger` gem will not be bundled with future Ruby versions.
https://github.com/ruby/ruby/blob/master/doc/standard_library.md

Noticed this warning when using the gem:

    /Users/dentarg/.arm64_rubies/3.4.3/lib/ruby/gems/3.4.0/gems/mqtt-0.6.0/lib/mqtt.rb:3:
    warning: logger was loaded from the standard library, but will no
    longer be part of the default gems starting from Ruby 3.5.0.  You
    can add logger to your Gemfile or gemspec to silence this warning.

This change ensures the gem keep working with Ruby 3.5+.
@njh
Copy link
Owner

njh commented Sep 9, 2025

Please can you update this branch from the main branch?
It should fix the tests.

@njh
Copy link
Owner

njh commented Sep 27, 2025

Added dependancy on logger in 29244bb

@njh njh closed this Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants