We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I love Logster functionality but I can't use it with MultiLogger. I configured MultiLogger gem like this:
# config/initializers/multie_logger.rb MultiLogger.add_logger('mylog')
But now I get these: undefined method `mylog' for #Logster::Logger:0x00000009c11ae8
I tried this config Rails.logger.extend(ActiveSupport::Logger.broadcast(Logster.logger)) but no luck.
Rails.logger.extend(ActiveSupport::Logger.broadcast(Logster.logger))
I am using Rails 4.1.14.2. Apologies if this is a really silly question but does anyone have suggestions?
The text was updated successfully, but these errors were encountered:
no idea how this multilogger gem works, but logster supports chained stores which allow you to achieve similar results.
Sorry, something went wrong.
Do you mean I can configure logster to write to different log files so Rails.logger.foobar.info("message here")will go to logs/foobar.log?
Rails.logger.foobar.info("message here")
logs/foobar.log
I studied the code extensively and still not sure how to do that. Could I trouble you for a hint / code snippet?
No branches or pull requests
I love Logster functionality but I can't use it with MultiLogger. I configured MultiLogger gem like this:
But now I get these:
undefined method `mylog' for #Logster::Logger:0x00000009c11ae8
I tried this config
Rails.logger.extend(ActiveSupport::Logger.broadcast(Logster.logger))
but no luck.I am using Rails 4.1.14.2. Apologies if this is a really silly question but does anyone have suggestions?
The text was updated successfully, but these errors were encountered: