philiprehberger-structured_logger 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -2
- data/README.md +7 -3
- data/lib/philiprehberger/structured_logger/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03457e3b8dbeb12b1eb34a344672baa4e2cd98fd601ea2b71e8e6ce0c2bcedfb
|
|
4
|
+
data.tar.gz: 4067a29a06130c4923473f5daa9ccd5dccea65f6fedf04aca35fd88c77f70f26
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f50731219d14fb4d57f473bbb24a1cb919469991e5968315cf0a768fda7af6d9db62f190003a8bd4114474113a0f0db8990fe064f0c4c6e44b80dacf92ec4c95
|
|
7
|
+
data.tar.gz: 0e50cd5166c237bb68c2ecbb526d02adc08cbbd8dc2fe46b543e694b3f7198b20a2390ae8813f3aa4cb2b0dae8864294e9ad9f645ba129efdb167600b04eaa02
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All notable changes to this gem will be documented in this file.
|
|
4
4
|
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
n## [0.3.1] - 2026-03-22
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- Update rubocop configuration for Windows compatibility
|
|
13
|
+
|
|
14
|
+
## [0.3.0] - 2026-03-17
|
|
15
|
+
|
|
16
|
+
### Added
|
|
5
17
|
- Add multiple outputs (appenders) with per-output level filtering and formatters
|
|
6
18
|
- Add `add_output` for adding output destinations at runtime
|
|
7
19
|
- Add custom formatters: `:json` (default), `:text`, and any callable (proc/lambda)
|
|
@@ -11,20 +23,25 @@
|
|
|
11
23
|
- Add buffered async output via background thread with backpressure support
|
|
12
24
|
- Add `flush` and `close` methods for async writer lifecycle management
|
|
13
25
|
|
|
14
|
-
## 0.2.1
|
|
26
|
+
## [0.2.1] - 2026-03-16
|
|
15
27
|
|
|
28
|
+
### Changed
|
|
16
29
|
- Add License badge to README
|
|
17
30
|
- Add bug_tracker_uri to gemspec
|
|
18
31
|
- Add Development section to README
|
|
19
32
|
- Add Requirements section to README
|
|
20
33
|
|
|
21
34
|
## [0.2.0] - 2026-03-13
|
|
35
|
+
|
|
36
|
+
### Added
|
|
22
37
|
- Add `level` getter to read the current log level
|
|
23
38
|
- Add `with_context` for temporarily merging context during a block
|
|
24
39
|
- Add `silence` for temporarily raising the log level during a block
|
|
25
40
|
- Add `log_exception` for logging exception class, message, and backtrace
|
|
26
41
|
|
|
27
42
|
## [0.1.0] - 2026-03-10
|
|
43
|
+
|
|
44
|
+
### Added
|
|
28
45
|
- Initial release
|
|
29
46
|
- Structured JSON log output
|
|
30
47
|
- Log levels: debug, info, warn, error, fatal
|
data/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
#
|
|
1
|
+
# philiprehberger-structured_logger
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/philiprehberger/rb-structured-logger/actions/workflows/ci.yml)
|
|
4
|
+
[](https://rubygems.org/gems/philiprehberger-structured_logger)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+
Structured JSON logger with context merging, child loggers, filtering, and async output for Ruby
|
|
4
8
|
|
|
5
9
|
## Requirements
|
|
6
10
|
|
|
@@ -16,7 +20,7 @@ gem "philiprehberger-structured_logger"
|
|
|
16
20
|
|
|
17
21
|
Or install directly:
|
|
18
22
|
|
|
19
|
-
```
|
|
23
|
+
```bash
|
|
20
24
|
gem install philiprehberger-structured_logger
|
|
21
25
|
```
|
|
22
26
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: philiprehberger-structured_logger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Rehberger
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A zero-dependency Ruby gem for structured JSON logging with context merging,
|
|
14
14
|
child loggers, level filtering, and pluggable outputs.
|
|
@@ -34,6 +34,7 @@ metadata:
|
|
|
34
34
|
source_code_uri: https://github.com/philiprehberger/rb-structured-logger
|
|
35
35
|
changelog_uri: https://github.com/philiprehberger/rb-structured-logger/blob/main/CHANGELOG.md
|
|
36
36
|
rubygems_mfa_required: 'true'
|
|
37
|
+
bug_tracker_uri: https://github.com/philiprehberger/rb-structured-logger/issues
|
|
37
38
|
post_install_message:
|
|
38
39
|
rdoc_options: []
|
|
39
40
|
require_paths:
|
|
@@ -42,7 +43,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
42
43
|
requirements:
|
|
43
44
|
- - ">="
|
|
44
45
|
- !ruby/object:Gem::Version
|
|
45
|
-
version:
|
|
46
|
+
version: 3.1.0
|
|
46
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
48
|
requirements:
|
|
48
49
|
- - ">="
|