Package org.apache.solr.logging
Class LoggerInfo
- java.lang.Object
-
- org.apache.solr.logging.LoggerInfo
-
- All Implemented Interfaces:
Comparable<LoggerInfo>
- Direct Known Subclasses:
JulInfo
,Log4j2Watcher.Log4j2Info
public abstract class LoggerInfo extends Object implements Comparable<LoggerInfo>
Wrapper class for Logger implementations
-
-
Constructor Summary
Constructors Constructor Description LoggerInfo(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compareTo(LoggerInfo other)
SimpleOrderedMap<?>
getInfo()
String
getLevel()
String
getName()
abstract boolean
isSet()
-
-
-
Field Detail
-
ROOT_NAME
public static final String ROOT_NAME
- See Also:
- Constant Field Values
-
name
protected final String name
-
level
protected String level
-
-
Constructor Detail
-
LoggerInfo
public LoggerInfo(String name)
-
-
Method Detail
-
getLevel
public String getLevel()
-
getName
public String getName()
-
isSet
public abstract boolean isSet()
-
getInfo
public SimpleOrderedMap<?> getInfo()
-
compareTo
public int compareTo(LoggerInfo other)
- Specified by:
compareTo
in interfaceComparable<LoggerInfo>
-
-