-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Adding documentation on how to enable param logging #68
Conversation
+1 |
Here is some code to log parameters in addition to the request IP, user agent (using the browser gem), and the
|
👍 |
You could condense the example even further using Rails' params = event.payload[:params].slice!('controller', 'action')
{ 'params' => params } |
|
||
{ "params" => params } | ||
end | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're missing an end
to close the configure
block.
@iloveitaly get the small issue above resolved and I'll |
Whoops, sorry about that! Fixed it up @benlovell |
@iloveitaly You da' man! Thanks ❤️ |
Adding documentation on how to enable param logging
Some documentation to allow people new to lograge to quickly enable param logging in their apps.