pretty_logger 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pretty_logger/request_logger.rb +1 -0
- data/lib/pretty_logger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de26eada3a4365d89821cd2097a08193907e4e423396df9ca5f6ed3e5ef513dc
|
4
|
+
data.tar.gz: 0a9c56ace96ab075c1792ef01a4149a50c599eb069b5781669f714026c3678c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30848208db020360ac6612fc0b9410c6d281ba67d6abe41a2c62a06252f3f3f05d46a30aa6d9950507c2936fbed2bb09387a6e8e2b29569f832a1569a2deb405
|
7
|
+
data.tar.gz: 2afefaec6fcabfa73d41e8542aa04eddbce676ebf30d152bdfe413d75e5b4e51ff24ced2218ebd4918895fc0712c574549ef4860c6182efa53716d3f203aa4a3
|
@@ -7,6 +7,7 @@ class PrettyLogger::RequestLogger < PrettyLogger::BaseLogger
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def log_request(extra_text=nil)
|
10
|
+
# Nothing change
|
10
11
|
::PrettyLogger::BaseLogger.info([
|
11
12
|
"#{pretty_user} #{request.method.upcase} #{request.path} #{extra_text}",
|
12
13
|
params.blank? ? nil : ::PrettyLogger::BaseLogger.pretty_message(params).truncate(2000),
|