Skip to content

Commit

Permalink
Loggers: Drop last deprecated logger function (#35082)
Browse files Browse the repository at this point in the history
Drop the last function from `Loggers` that just wraps Log4j2.

Relates to #32174
  • Loading branch information
nik9000 committed Oct 31, 2018
1 parent 010845b commit ca620ff
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@ public static Logger getLogger(Logger parentLogger, String s) {
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) {
Expand Down

0 comments on commit ca620ff

Please sign in to comment.