Why would you want to do that?  Most people seem to prefer getLogger() while I 
prefer getLogger(MyClass.class).  I can’t imagine why anyone would want to 
dynamically construct a name like that and if they did, why wouldn’t they just 
using StringBuilder?

Ralph

> On Mar 9, 2020, at 7:51 AM, Gary Gregory <[email protected]> wrote:
> 
> Hi All:
> 
> Any thought for or against adding the API 'getLogger(String... name)' which
> would build a hierarchical logger name. These would be equivalent:
> 
> - getLogger("com.a.b.c")
> - getLogger("com", "a", "b", "c")
> 
> Gary


Reply via email to