File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -99,11 +99,17 @@ The example SqlBypass class is a generic SQL session store. You may
9999use it as a basis for high-performance database-specific stores.
100100
101101Please note that you will need to manually include the silencer module to your
102- custom logger if you are using a logger other than ` Logger ` and ` Syslog ::Logger`
103- and their subclasses:
102+ custom logger if you are using a logger other than ` ActiveSupport ::Logger` and
103+ its subclasses:
104104
105105``` ruby
106- MyLogger .send :include , ActiveRecord ::SessionStore ::Extension ::LoggerSilencer
106+ MyLogger .include ActiveSupport ::LoggerSilence
107+ ```
108+
109+ Or if you are using Rails 5.2 or older:
110+
111+ ``` ruby
112+ MyLogger .include ::LoggerSilence
107113```
108114
109115This silencer is being used to silence the logger and not leaking private
You can’t perform that action at this time.
0 commit comments