1.0 KiB
1.0 KiB
Releases
v1.29.3
- Serialized output now uses
IO#writewith a single string to reduce the chance of interleaved output.
v1.29.2
- Always return
nilfromConsole::Filterlogging methods.
v1.29.1
- Fix logging
exception:keyword argument when the value was not an exception.
v1.29.0
- Don't make
Kernel#warnredirection toConsole.warnthe default behavior, you mustrequire 'console/warn'to enable it. - Remove deprecated
Console::Logger#failure.
Consistent Handling of Exceptions
Console.call and all wrapper methods will now consistently handle exceptions that are the last positional argument or keyword argument. This means that the following code will work as expected:
begin
rescue => error
# Last positional argument:
Console.warn(self, "There may be an issue", error)
# Keyword argument (preferable):
Console.error(self, "There is an issue", exception: error)
end
v1.28.0
- Add support for
Kernel#warnredirection toConsole.warn.