I just updated the PR to support this so that it is up to date with master and provides a bound for the type parameter: https://github.com/qos-ch/logback/pull/280