Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.12.1 - 2025-10-31
- Remove `Reforge.log_filter` method. Use `filter: ->(log) { Reforge.instance.log_level_client.semantic_filter(log) }` instead

## 1.12.0 - 2025-10-31

- Restore log level functionality with LOG_LEVEL_V2 support
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.12.0
1.12.1
14 changes: 0 additions & 14 deletions lib/reforge/reforge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,6 @@ def self.instance
@singleton
end

def self.log_filter
unless defined?(SemanticLogger)
# SemanticLogger is optional - return a pass-through filter
# Only log debug message if explicitly enabled
LOG.debug 'log_filter called but SemanticLogger is not available. Install the semantic_logger gem to use this feature.' if ENV['REFORGE_LOG_CLIENT_BOOTSTRAP_LOG_LEVEL'] == 'debug'
return Proc.new { |log| true } # Pass through all logs
end

InternalLogger.using_reforge_log_filter!
return Proc.new do |log|
bootstrap_log_level(log)
end
end

def self.finish_init!
@config_has_loaded = true
end
Expand Down
4 changes: 2 additions & 2 deletions sdk-reforge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
# stub: sdk-reforge 1.12.0 ruby lib
# stub: sdk-reforge 1.12.1 ruby lib

Gem::Specification.new do |s|
s.name = "sdk-reforge".freeze
s.version = "1.12.0"
s.version = "1.12.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib".freeze]
Expand Down
Loading