Finds the first HasLogLevel for the given Throwable
including
its chain of causes and returns its logLevel
.
Finds the first HasLogLevel for the given Throwable
including
its chain of causes and returns its logLevel
.
None
if neither t
nor any of its causes are a
HasLogLevel. Otherwise, returns Some
of the first
one found.
this finds the first HasLogLevel, and should be there be multiple in the chain of causes, it will not use the most severe.