I'm working on some legacy code with a lot of code like
private final Logger logger = LogManager.getLogger(ThisClassName.class);
I'm wondering if there is any advantage to typing out "ThisClassName.class" as opposed to
LogManager.getLogger(getClass());
As far as I can tell, there is none, but I'm wondering if there are any negative ramifications to using getClass(). Thanks.