-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ruby Logger add method signature
On the previous release, we added a new attribute to the `add` method of our Logger, which overwrites Ruby's base loggers. This made ActiveSupport Logger broadcast to fail as we called the function with 4 arguments internally after it was overwrittend by ActiveSupport, which expects 3 arguments. This commits addresses the problem by setting the attributes as an instance variable that is later taken inside the `add` method, so we can keep the signature untouched.
- Loading branch information
1 parent
0bcb0eb
commit 5b7735a
Showing
3 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
bump: "patch" | ||
type: "fix" | ||
--- | ||
|
||
Fix Logger add method signature error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters