The project is in a healthy, maintained state
Rails v8 ActiveSupport::TaggedLogging backported to Rails v5.2+ & Ruby 2.7+
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0, >= 1.0.2
>= 10
~> 3.13
~> 1.0, >= 1.0.6
~> 0.5, >= 0.5.2
~> 1.40
~> 0.9, >= 0.9.34
~> 0.0.10

Runtime

~> 1.0, >= 1.0.1
~> 1.1, >= 1.1.4
 Project Readme

Activesupport::TaggedLogging

License: MIT Version Downloads Today CI Supported Build CI Unsupported Build CI Ancient Build CI Style Build CI Coverage Build CI Heads Build


Liberapay Patrons Sponsor Me on Github Polar Shield Donate to my FLOSS or refugee efforts at ko-fi.com Donate to my FLOSS or refugee efforts using Patreon

This is an unofficial extraction of Rails' v8 ActiveSupport::TaggedLogging backported to work with Rails v5.2+ and Ruby 2.7+.

If this gem is loaded by Rails v8+, it does nothing at all. NOOP.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add activesupport-tagged_logging

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install activesupport-tagged_logging

Usage

require "activesupport-tagged_logging"

With activesupport-logger gem

activesupport-logger is automatically depended on and configured by this gem, so you don't need to do anything else.

IMPORTANT: When using this gem, do not require activesupport-logger in your code. Load order matters.

Simplified, the load order is basically:

  • Standard active_support/logger from the Rails version loaded by your application
  • Standard active_support/tagged_logging from the Rails version loaded by your application
  • This gem's dependency activesupport-logger which was ripped from the Rails v8 beta
  • This gem's activesupport-tagged_logging which was ripped from the Rails v8 beta

But, again, this is handled for you.

With broadcasting support

If you want to try an experimental fix from a PR, run:

ActiveSupport::FixPr53105.init

See: https://github.com/rails/rails/pull/53105/files

General Info

Primary Namespace Activesupport::Logger && ActiveSupport::Logger
code triage Open Source Helpers
documentation on Github.com, on RubyDoc.info
expert support Get help on Codementor
... 💖 Liberapay Patrons Sponsor Me Follow Me on LinkedIn Find Me on WellFound: Find Me on CrunchBase My LinkTree Follow Me on Ruby.Social Tweet @ Peter 💻 🌏

🤝 Contributing

If you need some ideas of where to help, you could work on adding more code coverage, or if it is already 💯 then check issues, or PRs, or use the gem and think about how it could be better.

Also, see CONTRIBUTING.md.

🌈 Contributors

Contributors

Made with contributors-img.

🪇 Code of Conduct

Everyone interacting in this project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

📌 Versioning

This Library adheres to Semantic Versioning 2.0.0. Violations of this scheme should be reported as bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be immediately released that restores compatibility. Breaking changes to the public API will only be introduced with new major versions.

To get a better understanding of how SemVer is intended to work over a project's lifetime, read this article from the creator of SemVer:

As a result of this policy, you can (and should) specify a dependency on these libraries using the Pessimistic Version Constraint with two digits of precision.

For example:

spec.add_dependency("activesupport-tagged_logging", "~> 1.0")

See CHANGELOG.md for list of releases.

📄 License

The gem is available as open source under the terms of the MIT License License: MIT.

See LICENSE.txt for the official Copyright Notice.

© Copyright

🤑 One more thing

You made it to the bottom of the page, so perhaps you'll indulge me for another 20 seconds. I maintain many dozens of gems, including this one, because I want Ruby to be a great place for people to solve problems, big and small. Please consider supporting my efforts via the giant yellow link below, or one of the others at the head of this README.

Buy me a latte