Skip to content

Commit

Permalink
Merge pull request #1019 from cmer/ruby-3.3-fix
Browse files Browse the repository at this point in the history
Fix for Ruby 3.3
  • Loading branch information
luismiramirez authored Dec 27, 2023
2 parents 2e93182 + ae0b779 commit d65deea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changesets/fix-compatibility-for-ruby-3-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
bump: "patch"
type: "fix"
---

Fix logger compatibility with Ruby 3.3
2 changes: 2 additions & 0 deletions lib/appsignal/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class Logger < ::Logger
def initialize(group, level: INFO, format: PLAINTEXT)
raise TypeError, "group must be a string" unless group.is_a? String

super(group, :level => level)

@group = group
@level = level
@format = format
Expand Down

0 comments on commit d65deea

Please sign in to comment.