You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upcoming ruby3.3 will have enhanced Logger class:
ruby/ruby@194520f
which initializes newly added instance variables.
Without initializing such variables (in super class), now using
subclass of Logger will cause exception.
To avoid this, first call super, then execute additional subclass
initialization.
Fixeschef#73.
mtasaka
added a commit
to mtasaka/mixlib-log
that referenced
this issue
Sep 26, 2023
Upcoming ruby3.3 will have enhanced Logger class:
ruby/ruby@194520f
which initializes newly added instance variables.
Without initializing such variables (in super class), now using
subclass of Logger will cause exception.
To avoid this, first call super, then execute additional subclass
initialization.
Fixeschef#73.
Signed-off-by: Mamoru TASAKA <[email protected]>
With ruby 3.3.0dev ( I tested ruby/ruby@6d7730a ), mixlib-log git head ( 8643e33 ) rspec testsuite causes error like:
This is due to change in ruby Logger:
ruby/ruby@194520f
ruby/logger#85
and almost the same fix as steveklabnik/mono_logger#12 is needed.
The text was updated successfully, but these errors were encountered: