Mar 20, 2025
Support more logger methods and small changes
Ruby4.5.6
Added
- Add the Logger
<<
method. This improves our compatibility with Ruby's Logger class implementation, making it usable in more scenarios.
Changed
-
Explicitly return
nil
from public methods with no usable return value. We want to avoid the situation whereAppsignal.start
happens to returntrue
and it is thought to mean that the gem started successfully.Methods updated:
Appsignal.start
Appsignal.stop
Appsignal.configure
Appsignal.forked
Appsignal.load
-
Differentiate between
process_request.rack
events. Add the callback that triggered the event in the event title for debugging purposes. -
Improve the log message for the uneven timestack error. This will help the AppSignal team debug issues where events get closed when all events are already closed.
View the Ruby gem v4.5.6 changelog for more information.