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
TL;DR: When parentcall is nil, the @outputters collection will surprisingly be the return value of the call mylogger.warn 'halleluja'. That value is something like [], .i.e non-nil.
Proposed change: add a final nil line as the last line of the dynamically-defined "log-level methods".
The text was updated successfully, but these errors were encountered:
Background: Expected return value of a logging method call is
nil
.Current behavior can be seen here.
TL;DR: When
parentcall
is nil, the@outputters
collection will surprisingly be the return value of the callmylogger.warn 'halleluja'
. That value is something like[]
, .i.e non-nil.Proposed change: add a final
nil
line as the last line of the dynamically-defined "log-level methods".The text was updated successfully, but these errors were encountered: