ch.qos.logback.classic.spi.LoggerContextListener Java Examples
The following examples show how to use
ch.qos.logback.classic.spi.LoggerContextListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: KonkerLoggerContext.java From konker-platform with Apache License 2.0 | 5 votes |
private void resetListenersExceptResetResistant() { ArrayList toRetain = new ArrayList(); Iterator i$ = this.loggerContextListenerList.iterator(); while(i$.hasNext()) { LoggerContextListener lcl = (LoggerContextListener)i$.next(); if(lcl.isResetResistant()) { toRetain.add(lcl); } } this.loggerContextListenerList.retainAll(toRetain); }
Example #2
Source File: KonkerLoggerContext.java From konker-platform with Apache License 2.0 | 4 votes |
public List<LoggerContextListener> getCopyOfListenerList() { return new ArrayList(this.loggerContextListenerList); }