-
-
Notifications
You must be signed in to change notification settings - Fork 137
Description
Hi all,
We are using semantic logger in production but we would like to have the option to turn on and turn off semantic logger in development.
In the team I worked with we would like to have the option of any devs wants to use semantic logger in development they can and the ones that prefer Rails default, they also can.
I see that the moment we add on the Gemfile the rails semantic logger engine does a monkey patching on ActiveSupport::Logger, so hence my question.
Is there an easy way to continue to require the gem but have the ability to turn on and turn off at will? The only option I can see is to use the Gemfile and env vars but I want to avoid that because I think the problem is on the require itself and the ability that I can turn off the gem at will.
Sorry to open an Github issue for making a question. I am not sure if here is the best way to make the question.
Expected Behavior
Have the option to turn on or turn off semantic logger in development.