1 /** 2 * Logback: the generic, reliable, fast and flexible logging framework. 3 * 4 * Copyright (C) 2000-2008, QOS.ch 5 * 6 * This library is free software, you can redistribute it and/or modify it under 7 * the terms of the GNU Lesser General Public License as published by the Free 8 * Software Foundation. 9 */ 10 package ch.qos.logback.classic.spi; 11 12 import ch.qos.logback.classic.LoggerContext; 13 14 public interface LoggerContextListener { 15 16 17 /** 18 * Some listeners should not be removed when the LoggerContext is 19 * reset. Such listeners are said to be reset resistant. 20 * @return whether this listener is reset resistant or not. 21 */ 22 public boolean isResetResistant(); 23 public void onStart(LoggerContext context); 24 public void onReset(LoggerContext context); 25 public void onStop(LoggerContext context); 26 }