philiprehberger-structured_logger 0.3.0 → 0.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa759b5a2e0251937f0ab9951c533f233ef8129a4b13c724995bf98699618374
4
- data.tar.gz: 5908a03340aaf26b1b0a428d7756874f6fc6caabe14a137fad5fec8e7e3110a9
3
+ metadata.gz: 1b3230eab6b7394adea5314bf091a3ae978189d02eaa09b5fc7257f1afe5796e
4
+ data.tar.gz: acf0e4296008ce95aed213327dd73735e10024c87c3d0e5617602ceafedde2cc
5
5
  SHA512:
6
- metadata.gz: dadadcbd9611ee77a72099b12a2441c83405fc1d2a11a74d841fa09b7ab29ee0201a7c9743130378809d7e1e7ad92c7c55244e35a36fabe1cbfba6c5e1c49e82
7
- data.tar.gz: 14f5d6583b9713eac95fc8d1a564de17e78ee665789766fcc3662dd7154ec852d12616fae740ad3bea6ce50079e78757d7ebd43af5cdccbb3a2ba38144715fd4
6
+ metadata.gz: a206cfb660dbae07990d99bc147684b78d46756c4ca247031a24716b5110038cac6271bb07133cbe7f647197f701e674dbc0e82b52a777f668aa0c76153abfbc
7
+ data.tar.gz: 39337e957f53ffbbcf80b80486a86d4cc7c7b70123b4c7c7aa99f3c252251457b4c3a60fb0230df9e4bf8508234979bbeb73e692b81c61350393be4d8fc088c5
data/CHANGELOG.md CHANGED
@@ -1,7 +1,26 @@
1
1
  # Changelog
2
2
 
3
- ## 0.3.0
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
+
10
+ ## [0.3.2] - 2026-03-24
11
+
12
+ ### Fixed
13
+ - Align README one-liner with gemspec summary
14
+ - Fix stray character in CHANGELOG formatting
15
+
16
+ ## [0.3.1] - 2026-03-22
17
+
18
+ ### Changed
19
+ - Update rubocop configuration for Windows compatibility
20
+
21
+ ## [0.3.0] - 2026-03-17
22
+
23
+ ### Added
5
24
  - Add multiple outputs (appenders) with per-output level filtering and formatters
6
25
  - Add `add_output` for adding output destinations at runtime
7
26
  - Add custom formatters: `:json` (default), `:text`, and any callable (proc/lambda)
@@ -11,20 +30,25 @@
11
30
  - Add buffered async output via background thread with backpressure support
12
31
  - Add `flush` and `close` methods for async writer lifecycle management
13
32
 
14
- ## 0.2.1
33
+ ## [0.2.1] - 2026-03-16
15
34
 
35
+ ### Changed
16
36
  - Add License badge to README
17
37
  - Add bug_tracker_uri to gemspec
18
38
  - Add Development section to README
19
39
  - Add Requirements section to README
20
40
 
21
41
  ## [0.2.0] - 2026-03-13
42
+
43
+ ### Added
22
44
  - Add `level` getter to read the current log level
23
45
  - Add `with_context` for temporarily merging context during a block
24
46
  - Add `silence` for temporarily raising the log level during a block
25
47
  - Add `log_exception` for logging exception class, message, and backtrace
26
48
 
27
49
  ## [0.1.0] - 2026-03-10
50
+
51
+ ### Added
28
52
  - Initial release
29
53
  - Structured JSON log output
30
54
  - Log levels: debug, info, warn, error, fatal
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
- # Philiprehberger::StructuredLogger
1
+ # philiprehberger-structured_logger
2
2
 
3
- A zero-dependency Ruby gem for structured JSON logging with context merging, child loggers, level filtering, multiple outputs, custom formatters, log sampling, correlation IDs, and async output.
3
+ [![Tests](https://github.com/philiprehberger/rb-structured-logger/actions/workflows/ci.yml/badge.svg)](https://github.com/philiprehberger/rb-structured-logger/actions/workflows/ci.yml)
4
+ [![Gem Version](https://badge.fury.io/rb/philiprehberger-structured_logger.svg)](https://rubygems.org/gems/philiprehberger-structured_logger)
5
+ [![License](https://img.shields.io/github/license/philiprehberger/rb-structured-logger)](LICENSE)
6
+
7
+ Structured JSON logger with context and child loggers
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
- ```sh
23
+ ```bash
20
24
  gem install philiprehberger-structured_logger
21
25
  ```
22
26
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Philiprehberger
4
4
  module StructuredLogger
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.2"
6
6
  end
7
7
  end
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.0
4
+ version: 0.3.2
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-17 00:00:00.000000000 Z
11
+ date: 2026-03-25 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: '3.1'
46
+ version: 3.1.0
46
47
  required_rubygems_version: !ruby/object:Gem::Requirement
47
48
  requirements:
48
49
  - - ">="