Commit graph

20 commits

Author SHA1 Message Date
jules
95dcaa0979 Typo 2015-10-23 15:01:16 +02:00
jules
6bc1b9405d Don't forget to import the new formatter 2015-10-23 14:54:41 +02:00
jules
9a593ee996 Add JSON formatter 2015-10-23 14:53:58 +02:00
jules
2e0f8c2aa5 Add JSON formatter 2015-10-23 14:53:21 +02:00
Duncan Williams
de4d5c2c0f using module name of Loggers rather than Logger
also explicit to_s on response body
2015-10-23 14:53:21 +02:00
Duncan Williams
89fdbb0e49 fixing some small bugs 2015-10-23 14:53:21 +02:00
Duncan Williams
e5cff12673 using pluggable loggers
separating out the base logger behaviour
and logging of specific parts of request / response
into pluggable components

also setting the defualt formatter for the logger
2015-10-23 14:53:19 +02:00
Rodrigo Souto
1b834e1dc1 add support for obfuscated parameters
Now you may override the method 'sensitive_parameters' with a list of
parameters that should be obfuscated on the log. If the lib is loaded on
a Rails application, uses the 'filter_parameters' attribute as default
value for 'sensitive_parameters'.
2015-10-23 14:52:27 +02:00
aserafin
45798cd87e bump version to 1.1.2 2015-06-29 20:12:34 +02:00
Vladimir Kochnev
28bb59e247 Unsubscribe notifier in ensure block
In case of unhandled exception we should unsubscribe notifier anyway.
Related to #7.
2015-06-29 12:47:55 +03:00
aserafin
3848b35b52 bump version to 1.1.1 2015-06-26 08:34:08 +02:00
Vladimir Kochnev
296705e02e clean up middleware code & unsubscribe in the end 2015-06-26 00:06:31 +03:00
aserafin
d130386947 bump version to 1.1 2015-05-20 14:34:28 +02:00
aserafin
f465c1027c remove benchmark dependency, for logging db_runtime use instance variable and not env, do not overwrite call! anymore 2015-05-18 22:38:43 +02:00
Adrian Serafin
1e194073f6 Update version.rb 2015-05-04 18:57:18 +02:00
aaron
d176b057dc fix error: uninitialized constant Benchmark 2015-04-30 23:11:31 +08:00
aserafin
00b055406d change wording in gem description 2015-04-16 13:20:55 +02:00
aserafin
4b662e5c23 pass logger as option to middleware so it's easily usable when grape is mounted inside rails 2015-04-16 12:48:21 +02:00
aserafin
d7996bd745 readme, exception logging 2015-04-16 09:20:23 +02:00
aserafin
adde009a64 first commit 2015-04-14 14:29:07 +02:00