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

Feature/tagged logging #81

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Meat-Chopper
Copy link

Solved merge conflicts for #35 and tested in real project.
I don't know what is better: add the last commit to the original PR or continue with this new one.

markglenn and others added 4 commits May 8, 2015 10:17
Implement tagged logging similar to ActiveSupport::TaggedLogging.
Don't use the default_options to pass the tags into the logger.  This
causes the tags field to be sent over to graylog as an array.  Instead
pass the tag names into an attribute called log_tags that matches with
the Rails standard of config.log_tags.
@CLAassistant
Copy link

CLAassistant commented Mar 26, 2019

CLA assistant check
All committers have signed the CLA.

@Meat-Chopper
Copy link
Author

Is it OK to test the new feature only for Ruby 2.x?

if RUBY_VERSION[0,1].to_i >= 2
  context "#tagged" do

@Meat-Chopper
Copy link
Author

Hello @tessie and @milgner,
Could you please provide any feedback?

@mlensment
Copy link

Is it possible for this to be merged soon?

adamtharani added a commit to Marketcircle/gelf-rb that referenced this pull request Jul 26, 2024
Code grabbed from graylog-labs#81

Signed-off-by: Adam Tharani <[email protected]>
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.

5 participants