fluent_logger_rails 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +1 -1
- data/lib/fluent_logger_rails/tagged_hash_formatter.rb +5 -3
- data/lib/fluent_logger_rails/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: 624c3e8a4581cf1d1ec94f174b28e738eecace7ad0eab3a7ed7fbe3b70954346
|
4
|
+
data.tar.gz: d9ab5129b1f4b3261227bb544df3706c15e50c1f6bb34da9a0656fab9eee67d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7c30245f458a0a4447367dea5dfd9d79c9deb9af676adc4e733217914a2ea4deebd68be182be01582481ffdb81a699d5eaeb2a696850e7f3604643a284c469b
|
7
|
+
data.tar.gz: 88bf00795a54baf30cbba7f84479e16211a6d26c6cdb632adf16120d19568df7bcd65265854304c8a6955e08a4d80ef50c11ad728343cd97cfc67acefc4fd1d3
|
data/CHANGELOG.md
CHANGED
@@ -11,6 +11,21 @@ Enhancements:
|
|
11
11
|
* None
|
12
12
|
|
13
13
|
Deprecations:
|
14
|
+
|
15
|
+
* None
|
16
|
+
|
17
|
+
## v0.7.0
|
18
|
+
|
19
|
+
Bug Fixes:
|
20
|
+
|
21
|
+
* Formatter is now more defensive about incoming nil and array-of-nil values, after changes with Rails 7.x Rack::Logger identified the gap
|
22
|
+
|
23
|
+
Enhancements:
|
24
|
+
|
25
|
+
* None
|
26
|
+
|
27
|
+
Deprecations:
|
28
|
+
|
14
29
|
* None
|
15
30
|
|
16
31
|
## v0.6.0
|
data/Gemfile.lock
CHANGED
@@ -43,10 +43,12 @@ module FluentLoggerRails
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def tagged(*tags)
|
46
|
-
|
47
|
-
|
46
|
+
tags = tags.flatten.compact if tags.is_a?(Array)
|
47
|
+
|
48
|
+
add_tags(*tags) if tags.present?
|
49
|
+
yield(self)
|
48
50
|
ensure
|
49
|
-
remove_tags(*tags)
|
51
|
+
remove_tags(*tags) if tags.present?
|
50
52
|
end
|
51
53
|
|
52
54
|
def add_tags(*tags)
|