Loggers: Drop last deprecated logger function (#35082)

Drop the last function from `Loggers` that just wraps Log4j2.

Relates to #32174
This commit is contained in:
Nik Everett 2018-10-31 14:38:29 -04:00 committed by GitHub
parent 010845b233
commit ca620ff4ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -76,15 +76,6 @@ public class Loggers {
return ESLoggerFactory.getLogger(prefix, parentLogger.getName() + s);
}
/**
* Get or build a logger.
* @deprecated Prefer {@link LogManager#getLogger}
*/
@Deprecated
public static Logger getLogger(Class<?> clazz) {
return ESLoggerFactory.getLogger(null, clazz);
}
private static String formatPrefix(String... prefixes) {
String prefix = null;
if (prefixes != null && prefixes.length > 0) {