Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support logger.add #49

Merged
merged 2 commits into from
Mar 12, 2024
Merged

Support logger.add #49

merged 2 commits into from
Mar 12, 2024

Conversation

urmastalimaa
Copy link
Member

@urmastalimaa urmastalimaa commented Mar 12, 2024

Ruby's logger has a add method that supports severity at the first argument position. Conform to Ruby's logger and provide a similar "add" method. This supports providing a Lenjador logger to external tools that call "#add" on the provided logger.

MSG-816

This was motivated by the monkey-patching that would otherwise be required here

Ruby's logger has a add method that supports severity at the first
argument position. Conform to Ruby's logger and provide a similar "add"
method. This supports providing a Lenjador logger to external tools that
call "#add" on the provided logger.

MSG-816
@urmastalimaa urmastalimaa requested review from indrekj and s22su March 12, 2024 10:12
@urmastalimaa urmastalimaa merged commit ed543be into master Mar 12, 2024
6 checks passed
@urmastalimaa urmastalimaa deleted the support_add branch March 12, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants