Class XLogger
- java.lang.Object
-
- de.xima.fc.logging.components.logger.XLogger
-
- All Implemented Interfaces:
ILogger
,Serializable
,Comparable<ILogger>
public class XLogger extends Object implements ILogger
Wrapper model for Logger configs- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAppender(IAppender appender)
int
compareTo(ILogger o)
static XLogger
forLog4jLogger(String identifier, org.apache.logging.log4j.core.config.LoggerConfig loggerConfig)
List<String>
getAppenderRefs()
String
getIdentifier()
ELogLevel
getLevel()
String
getName()
ELoggerType
getType()
int
hashCode()
boolean
isAdditive()
boolean
isModified()
static XLogger
newFacesLogger(String identifier)
static XLogger
newLogger(String identifier)
static XLogger
newRootLogger()
void
setAdditive(boolean additive)
void
setAppenderRefs(List<String> appenderRefs)
void
setLevel(ELogLevel level)
void
setName(String name)
String
toString()
-
-
-
Method Detail
-
forLog4jLogger
public static XLogger forLog4jLogger(String identifier, org.apache.logging.log4j.core.config.LoggerConfig loggerConfig)
-
newRootLogger
public static XLogger newRootLogger()
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifier
in interfaceILogger
-
setName
public void setName(String name)
-
getType
public ELoggerType getType()
-
setLevel
public void setLevel(ELogLevel level)
-
isAdditive
public boolean isAdditive()
- Specified by:
isAdditive
in interfaceILogger
-
setAdditive
public void setAdditive(boolean additive)
-
getAppenderRefs
public List<String> getAppenderRefs()
- Specified by:
getAppenderRefs
in interfaceILogger
-
addAppender
public void addAppender(IAppender appender)
- Specified by:
addAppender
in interfaceILogger
-
isModified
public boolean isModified()
-
compareTo
public int compareTo(ILogger o)
- Specified by:
compareTo
in interfaceComparable<ILogger>
-
-