ILoggerFactory acting as the
manufacturing source of Logger instances.
| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | DEFAULT_PACKAGING_DATA
Default setting of packaging data in stack traces |
| private List | |
| private Map | |
| private final List | |
| private LoggerContextVO | |
| private int | |
| pack-priv MDCAdapter | |
| private int | |
| private boolean | |
| pack-priv int | |
| pack-priv final Logger | |
| pack-priv SequenceNumberGenerator | |
| private int | |
| private final TurboFilterList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private void | |
| public Logger | |
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| public List | |
| public List | Returns: list of framework packagesList of packages considered part of the logging framework such that they are never considered as callers of the logging framework. |
| public final Logger | |
| public Logger | getLogger(final String
the name of the Logger to return name)Implements org. Logger instance as specified by the
name parameter.
|
| public LoggerContextVO | |
| public List | |
| public int | |
| public MDCAdapter | |
| public SequenceNumberGenerator | |
| pack-priv final FilterReply | |
| pack-priv final FilterReply | |
| pack-priv final FilterReply | |
| public TurboFilterList | |
| private void | |
| pack-priv void | |
| public boolean | |
| pack-priv final void | |
| public void | putProperty(String key, String val)
Overrides ch. Implements ch. |
| public void | |
| public void | reset()
Overrides ch. |
| private void | |
| private void | |
| private void | |
| public void | resetTurboFilterList()
First processPriorToRemoval all registered turbo filters and then clear the registration list. |
| public void | |
| public void | |
| public void | setName(String name)
Overrides ch. Implements ch. |
| public void | |
| public void | |
| pack-priv int | |
| public void | start()
Overrides ch. Implements ch. |
| public void | stop()
Overrides ch. Implements ch. |
| public String | toString()
Overrides ch. |
| private void | updateLoggerContextVO()
A new instance of LoggerContextRemoteView needs to be created each time the name or propertyMap (including keys or values) changes. |
| DEFAULT_PACKAGING_DATA | back to summary |
|---|---|
| public static final boolean DEFAULT_PACKAGING_DATA Default setting of packaging data in stack traces | |
| frameworkPackages | back to summary |
|---|---|
| private List<String> frameworkPackages | |
| loggerCache | back to summary |
|---|---|
| private Map<String, Logger> loggerCache | |
| loggerContextListenerList | back to summary |
|---|---|
| private final List<LoggerContextListener> loggerContextListenerList | |
| loggerContextRemoteView | back to summary |
|---|---|
| private LoggerContextVO loggerContextRemoteView | |
| maxCallerDataDepth | back to summary |
|---|---|
| private int maxCallerDataDepth | |
| mdcAdapter | back to summary |
|---|---|
| pack-priv MDCAdapter mdcAdapter | |
| noAppenderWarning | back to summary |
|---|---|
| private int noAppenderWarning | |
| packagingDataEnabled | back to summary |
|---|---|
| private boolean packagingDataEnabled | |
| resetCount | back to summary |
|---|---|
| pack-priv int resetCount | |
| root | back to summary |
|---|---|
| pack-priv final Logger root | |
| sequenceNumberGenerator | back to summary |
|---|---|
| pack-priv SequenceNumberGenerator sequenceNumberGenerator Hides ch. | |
| size | back to summary |
|---|---|
| private int size | |
| turboFilterList | back to summary |
|---|---|
| private final TurboFilterList turboFilterList | |
| LoggerContext | back to summary |
|---|---|
| public LoggerContext() | |
| addListener | back to summary |
|---|---|
| public void addListener(LoggerContextListener listener) | |
| addTurboFilter | back to summary |
|---|---|
| public void addTurboFilter(TurboFilter newFilter) | |
| cancelScheduledTasks | back to summary |
|---|---|
| private void cancelScheduledTasks() | |
| exists | back to summary |
|---|---|
| public Logger exists(String name) Check if the named logger exists in the hierarchy. If so return its
reference, otherwise returns
| |
| fireOnLevelChange | back to summary |
|---|---|
| pack-priv void fireOnLevelChange(Logger logger, Level level) | |
| fireOnReset | back to summary |
|---|---|
| private void fireOnReset() | |
| fireOnStart | back to summary |
|---|---|
| private void fireOnStart() | |
| fireOnStop | back to summary |
|---|---|
| private void fireOnStop() | |
| getCopyOfListenerList | back to summary |
|---|---|
| public List | |
| getFrameworkPackages | back to summary |
|---|---|
| public List List of packages considered part of the logging framework such that they are never considered as callers of the logging framework. This list used to compute the caller for logging events. To designate package "com.foo" as well as all its subpackages as being part of the logging framework, simply add "com.foo" to this list. | |
| getLogger | back to summary |
|---|---|
| public final Logger getLogger(final Class<?> clazz) | |
| getLogger | back to summary |
|---|---|
| public Logger getLogger(final String name) Implements org. Doc from org. Return an appropriate If the name parameter is equal to Null-valued name arguments are considered invalid. Certain extremely simple logging systems, e.g. NOP, may always return the same logger instance regardless of the requested name. | |
| getLoggerContextRemoteView | back to summary |
|---|---|
| public LoggerContextVO getLoggerContextRemoteView() | |
| getLoggerList | back to summary |
|---|---|
| public List | |
| getMaxCallerDataDepth | back to summary |
|---|---|
| public int getMaxCallerDataDepth() | |
| getMDCAdapter | back to summary |
|---|---|
| public MDCAdapter getMDCAdapter() | |
| getSequenceNumberGenerator | back to summary |
|---|---|
| public SequenceNumberGenerator getSequenceNumberGenerator() Overrides ch. Implements ch.
| |
| getTurboFilterChainDecision_0_3OrMore | back to summary |
|---|---|
| pack-priv final FilterReply getTurboFilterChainDecision_0_3OrMore(final Marker marker, final Logger logger, final Level level, final String format, final Object[] params, final Throwable t) | |
| getTurboFilterChainDecision_1 | back to summary |
|---|---|
| pack-priv final FilterReply getTurboFilterChainDecision_1(final Marker marker, final Logger logger, final Level level, final String format, final Object param, final Throwable t) | |
| getTurboFilterChainDecision_2 | back to summary |
|---|---|
| pack-priv final FilterReply getTurboFilterChainDecision_2(final Marker marker, final Logger logger, final Level level, final String format, final Object param1, final Object param2, final Throwable t) | |
| getTurboFilterList | back to summary |
|---|---|
| public TurboFilterList getTurboFilterList() | |
| incSize | back to summary |
|---|---|
| private void incSize() | |
| initEvaluatorMap | back to summary |
|---|---|
| pack-priv void initEvaluatorMap() | |
| isPackagingDataEnabled | back to summary |
|---|---|
| public boolean isPackagingDataEnabled() | |
| noAppenderDefinedWarning | back to summary |
|---|---|
| pack-priv final void noAppenderDefinedWarning(final Logger logger) | |
| putProperty | back to summary |
|---|---|
| public void putProperty(String key, String val) Overrides ch. Implements ch. Doc from ch. Set a property of this context.
| |
| removeListener | back to summary |
|---|---|
| public void removeListener(LoggerContextListener listener) | |
| reset | back to summary |
|---|---|
| public void reset() Overrides ch. This method clears all internal properties, except internal status messages, closes all appenders, removes any turboFilters, fires an OnReset event, removes all status listeners, removes all context listeners (except those which are reset resistant). As mentioned above, internal status messages survive resets.
| |
| resetAllListeners | back to summary |
|---|---|
| private void resetAllListeners() | |
| resetListenersExceptResetResistant | back to summary |
|---|---|
| private void resetListenersExceptResetResistant() | |
| resetStatusListenersExceptResetResistant | back to summary |
|---|---|
| private void resetStatusListenersExceptResetResistant() | |
| resetTurboFilterList | back to summary |
|---|---|
| public void resetTurboFilterList() First processPriorToRemoval all registered turbo filters and then clear the registration list. | |
| setMaxCallerDataDepth | back to summary |
|---|---|
| public void setMaxCallerDataDepth(int maxCallerDataDepth) | |
| setMDCAdapter | back to summary |
|---|---|
| public void setMDCAdapter(MDCAdapter anAdapter) | |
| setName | back to summary |
|---|---|
| public void setName(String name) Overrides ch. Implements ch. Doc from ch. The context name can be set only if it is not already set, or if the current name is the default context name, namely "default", or if the current name and the old name are the same.
| |
| setPackagingDataEnabled | back to summary |
|---|---|
| public void setPackagingDataEnabled(boolean packagingDataEnabled) | |
| setSequenceNumberGenerator | back to summary |
|---|---|
| public void setSequenceNumberGenerator(SequenceNumberGenerator sng) Overrides ch. Implements ch.
| |
| size | back to summary |
|---|---|
| pack-priv int size() | |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch.
| |
| stop | back to summary |
|---|---|
| public void stop() Overrides ch. Implements ch. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides ch. Doc from java. Returns a string representation of the object. | |
| updateLoggerContextVO | back to summary |
|---|---|
| private void updateLoggerContextVO() A new instance of LoggerContextRemoteView needs to be created each time the name or propertyMap (including keys or values) changes. | |