All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- More documentation
- DRY logic for
DebugLogging::ClassLogger
&DebugLogging::InstanceLogger
viaLambDart
- Refactored test suite; increased test coverage to 97%
- Refactored ActiveSupport::Notification integration (DRY)
- Add undeclared runtime dependency
version_gem
DebugLogging::Hooks
integration viaextend
DebugLogging::ClassNotifier
support for method signatures with kwargserror_handler_proc
support for method signatures with kwargs
- Support for all Numeric types to be used as monotonic timestamps for ActiveSupport::Notifications
time_formatter_proc
- used to format timestamp added to beginning of log linesadd_timestamp
- Add timestamp to front of each log line
DebugLogging::ArgumentPrinter.debug_time_to_s
=>DebugLogging::ArgumentPrinter.debug_event_time_to_s
- Class method DSL:
logged
- Instance method DSL:
i_logged
- Class method DSL renamed:
notifies
=>notified
- Instance method DSL renamed:
i_notifies
=>i_notified
- Disambiguated class method log output send message separator:
.
=>::
, because.
is ambiguous; same call syntax used for instance method calls
- Per method config for every decorated method
- Support for
include DebugLogging::InstanceLogger.new(...)
- Support for
include DebugLogging::InstanceNotifier.new(...)
- Maximum Ruby version is 2.7. Versions 3.x are not compatible with Ruby >= 3
- Initial release