/** * Removes ALL {@link LoggingEvent}s logged on this logger, regardless of thread, * and resets the enabled levels of the logger to {@link uk.org.lidalia.slf4jext.Level#enablableValueSet()} * for ALL threads. */ public void clearAll() { allLoggingEvents.clear(); loggingEvents.reset(); enabledLevels.reset(); }
/** * Removes ALL {@link LoggingEvent}s logged on this logger, regardless of thread, * and resets the enabled levels of the logger to {@link uk.org.lidalia.slf4jext.Level#enablableValueSet()} * for ALL threads. */ public void clearAll() { allLoggingEvents.clear(); loggingEvents.reset(); enabledLevels.reset(); }
public void clearAllLoggers() { for (final TestLogger testLogger: loggers.values()) { testLogger.clearAll(); } loggingEvents.reset(); allLoggingEvents.clear(); }
public void clearAllLoggers() { for (final TestLogger testLogger: loggers.values()) { testLogger.clearAll(); } loggingEvents.reset(); allLoggingEvents.clear(); }