public class XLogger extends Object implements Serializable
Constructor and Description |
---|
XLogger(String name,
ELogLevel logLevel) |
XLogger(String name,
ELogLevel logLevel,
boolean isRootLogger) |
XLogger(String name,
String logLevel) |
XLogger(String name,
String logLevel,
boolean isRootLogger) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<XLogAppender> |
getAppender() |
Object[] |
getAppenderArray()
Method for 'SelectManyMenu' see JAVASERVERFACES Bug:2766
|
String |
getAppenderNames() |
ELogLevel |
getLogLevel() |
String |
getName() |
String |
getPropertyKey_Additivity()
Returns the property-key 'additivity' depending on the type: root-logger returns
null , otherwise
log4j.additivity. |
String |
getPropertyKey_Logger()
Returns the property-key 'logger' depending on the type and settings:
log4j.rootLogger or
log4j.logger. |
boolean |
hasAppender(XLogAppender appender)
Method to check if an appender is assigned to this logger
|
int |
hashCode() |
boolean |
isAdditivity() |
boolean |
isRootLogger() |
boolean |
isTransient() |
void |
setAdditivity(boolean additivity) |
void |
setAppender(List<XLogAppender> appender) |
void |
setAppenderArray(Object[] appenderArray)
Method for 'SelectManyMenu' see JAVASERVERFACES Bug:2766
|
void |
setLogLevel(ELogLevel logLevel) |
void |
setName(String name) |
void |
setRootLogger(boolean isRootLogger) |
void |
setTransient(boolean isTransient) |
String |
toString() |
public boolean isRootLogger()
public void setRootLogger(boolean isRootLogger)
public String getName()
public void setName(String name)
public ELogLevel getLogLevel()
public void setLogLevel(ELogLevel logLevel)
public List<XLogAppender> getAppender()
public void setAppender(List<XLogAppender> appender)
public boolean hasAppender(XLogAppender appender)
appender
- XLogAppender
to checkBoolean
if assignedpublic Object[] getAppenderArray()
Object
-arraypublic void setAppenderArray(Object[] appenderArray)
appenderArray
- Object
-arraypublic boolean isAdditivity()
public void setAdditivity(boolean additivity)
public boolean isTransient()
public void setTransient(boolean isTransient)
public String getAppenderNames()
public String getPropertyKey_Logger()
log4j.rootLogger
or
log4j.logger.[logger-name]
String
public String getPropertyKey_Additivity()
null
, otherwise
log4j.additivity.[logger-name]
ELoggerKey.ADDITIVITY
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.