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:
parent
010845b233
commit
ca620ff4ce
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue