public abstract class AbstractLogger<X extends AbstractLogger<X>> extends AbstractConfiguredObject<X>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
SECURED_STRING_VALUE
CONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
Modifier | Constructor and Description |
---|---|
protected |
AbstractLogger(Map<String,Object> attributes,
ConfiguredObject<?> parent) |
Modifier and Type | Method and Description |
---|---|
protected <C extends ConfiguredObject> |
addChildAsync(Class<C> childClass,
Map<String,Object> attributes,
ConfiguredObject... otherParents) |
protected void |
addLogInclusionRule(LogInclusionRule logInclusionRule) |
protected abstract ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> |
createAppenderInstance(ch.qos.logback.core.Context context) |
long |
getErrorCount() |
protected abstract Collection<? extends LogInclusionRule> |
getLogInclusionRules() |
long |
getWarnCount() |
protected void |
postResolveChildren() |
protected void |
removeLogInclusionRule(LogInclusionRule logInclusionRule) |
void |
stopLogging() |
addChangeListener, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onCreate, onExceptionInOpen, onOpen, onResolve, onValidate, open, openAsync, parentsMap, postResolve, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toString, validateChange, validateOnCreate
protected AbstractLogger(Map<String,Object> attributes, ConfiguredObject<?> parent)
protected final void addLogInclusionRule(LogInclusionRule logInclusionRule)
protected final void removeLogInclusionRule(LogInclusionRule logInclusionRule)
protected void postResolveChildren()
postResolveChildren
in class AbstractConfiguredObject<X extends AbstractLogger<X>>
protected abstract ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> createAppenderInstance(ch.qos.logback.core.Context context)
protected abstract Collection<? extends LogInclusionRule> getLogInclusionRules()
protected <C extends ConfiguredObject> com.google.common.util.concurrent.ListenableFuture<C> addChildAsync(Class<C> childClass, Map<String,Object> attributes, ConfiguredObject... otherParents)
addChildAsync
in class AbstractConfiguredObject<X extends AbstractLogger<X>>
public final long getErrorCount()
public final long getWarnCount()
public void stopLogging()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.