01: /*
02: * Copyright (C) The Apache Software Foundation. All rights reserved.
03: *
04: * This software is published under the terms of the Apache Software License
05: * version 1.1, a copy of which has been included with this distribution in
06: * the LICENSE file.
07: */
08: package org.jivesoftware.util.log;
09:
10: /**
11: * A Log target which will do filtering and then pass it
12: * onto targets further along in chain.
13: * <p/>
14: * <p>Filtering can mena that not all LogEvents get passed
15: * along chain or that the LogEvents passed alongare modified
16: * in some manner.</p>
17: *
18: * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
19: */
20: public interface FilterTarget extends LogTarget {
21:
22: /**
23: * Add a target to output chain.
24: *
25: * @param target the log target
26: */
27: void addTarget(LogTarget target);
28: }
|