Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-console
From: Takahiro Kambe
Date: 2025-03-16 14:50:53
Message id: 20250316135053.D9CD6FBE1@cvs.NetBSD.org
Log Message:
devel/ruby-console: update to 1.30.2
1.30.0 (2025-03-07)
Introduce Console::Config for fine grained configuration.
Introduced a new explicit configuration interface via config/console.rb to
enhance logging setup in complex applications. This update gives the
application code an opportunity to load files if required and control
aspects such as log level, output, and more. Users can override default
behaviors (e.g., make_output, make_logger, and log_level) for improved
customization.
# config/console.rb
def log_level(env = ENV)
# Set a custom log level, e.g., force debug mode:
:debug
end
def make_logger(output = $stderr, env = ENV, **options)
# Custom logger configuration with verbose output:
options[:verbose] = true
Logger.new(output, **options)
end
This approach provides a standard way to hook into the log setup process,
allowing tailored adjustments for reliable and customizable logging
behavior.
1.30.1 (2025-03-09)
* Remove circular require
1.30.2 (2025-03-10)
* Add missing require.
Files: