public class XLogger extends Object implements Serializable
Constructor and Description |
---|
XLogger(String name,
ELogLevel logLevel) |
XLogger(String name,
ELogLevel logLevel,
boolean isRootLogger)
Deprecated.
|
XLogger(String name,
ELogLevel logLevel,
ELoggerType type) |
XLogger(String name,
String logLevel) |
XLogger(String name,
String logLevel,
boolean isRootLogger)
Deprecated.
|
XLogger(String name,
String logLevel,
ELoggerType type) |
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. |
ELoggerType |
getType() |
boolean |
hasAppender(XLogAppender appender)
Method to check if an appender is assigned to this logger
|
int |
hashCode() |
boolean |
isAdditivity() |
boolean |
isRootLogger()
Deprecated.
|
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)
Deprecated.
|
void |
setTransient(boolean isTransient) |
String |
toString() |
public XLogger(String name, String logLevel, ELoggerType type)
public XLogger(String name, ELogLevel logLevel, ELoggerType type)
@Deprecated public XLogger(String name, String logLevel, boolean isRootLogger)
@Deprecated public XLogger(String name, ELogLevel logLevel, boolean isRootLogger)
public ELoggerType getType()
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
@Deprecated public boolean isRootLogger()
@Deprecated public void setRootLogger(boolean isRootLogger)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.