public class LoggerConfigBean extends FCContextBean
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
systemUC
Constructor and Description |
---|
LoggerConfigBean() |
Modifier and Type | Method and Description |
---|---|
void |
addToModifiedAppenders(XLogAppender appender) |
void |
addToModifiedLoggers(XLogger logger) |
void |
createNewAppender()
Initialisiert einen neuen Log-Appender und befüllt gewisse Werte für die Anzeige vor
|
void |
createNewLogger()
Initialisiert einen neuen Logger
|
List<XLogAppender> |
getAppender() |
EAppenderType[] |
getAppenderTypes() |
List<ELayoutType> |
getLayoutTypes() |
String |
getLevel() |
ELogLevel[] |
getLevels() |
List<XLogger> |
getLogger() |
List<XLogAppender> |
getModifiedAppenders() |
List<XLogger> |
getModifiedLoggers() |
XLogAppender |
getSelectedAppender() |
XLogger |
getSelectedLogger() |
void |
init() |
boolean |
isAppenderEditMode() |
boolean |
isAppenderModified(XLogAppender appender) |
boolean |
isLoggerEditMode() |
boolean |
isLoggerModified(XLogger logger) |
boolean |
isNewItem() |
boolean |
isRootLoggerSelected()
Deprecated.
|
void |
removeAppender(XLogAppender appender)
Removes the given
XLogAppender from the properties configuration A XLogAppender can only be removed
if it isn't used by an XLogger |
void |
removeLogger(XLogger logger)
Removes the given logger from the properties configuration
|
void |
saveAppender(XLogAppender appender)
Updates an existing
XLogAppender or creates a new one |
void |
saveLogger(XLogger logger)
Updates an existing
XLogger or creates a new one |
void |
saveModifiedAppenders() |
void |
saveModifiedLoggers() |
void |
setAppenderEditMode(boolean appenderEditMode) |
void |
setLevel(String level) |
void |
setLoggerEditMode(boolean loggerEditMode) |
void |
setNewItem(boolean newItem) |
void |
setSelectedAppender(XLogAppender selectedAppender) |
void |
setSelectedLogger(XLogger selectedLogger) |
getNavigationBean, getSessionBean, isSetupUser, redirectToDashboard, setNavigationBean, setSessionBean, switchMainView, switchMainView, switchSubView, switchSubView
ec, isDetached, isHasDB
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
@PostConstruct public void init()
public String getLevel()
public void setLevel(String level)
public boolean isNewItem()
public void setNewItem(boolean newItem)
public boolean isLoggerEditMode()
public void setLoggerEditMode(boolean loggerEditMode)
public boolean isAppenderEditMode()
public void setAppenderEditMode(boolean appenderEditMode)
public ELogLevel[] getLevels()
public EAppenderType[] getAppenderTypes()
public List<ELayoutType> getLayoutTypes()
public List<XLogAppender> getAppender()
public XLogAppender getSelectedAppender()
public void setSelectedAppender(XLogAppender selectedAppender)
public XLogger getSelectedLogger()
public void setSelectedLogger(XLogger selectedLogger)
public List<XLogAppender> getModifiedAppenders()
public void addToModifiedLoggers(XLogger logger)
public void addToModifiedAppenders(XLogAppender appender)
public boolean isLoggerModified(XLogger logger)
public boolean isAppenderModified(XLogAppender appender)
public void createNewLogger()
public void createNewAppender()
public void saveModifiedLoggers()
public void saveLogger(XLogger logger)
XLogger
or creates a new onelogger
- XLogger
public void removeLogger(XLogger logger)
logger
- XLogger
to be removedpublic void saveModifiedAppenders()
public void saveAppender(XLogAppender appender)
XLogAppender
or creates a new oneappender
- XLogAppender
public void removeAppender(XLogAppender appender)
XLogAppender
from the properties configuration A XLogAppender
can only be removed
if it isn't used by an XLogger
appender
- XLogAppender
to be removed@Deprecated public boolean isRootLoggerSelected()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.