KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > util > log > FilterTarget


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE file.
7  */

8 package org.jivesoftware.util.log;
9
10
11
12 /**
13  * A Log target which will do filtering and then pass it
14  * onto targets further along in chain.
15  * <p/>
16  * <p>Filtering can mena that not all LogEvents get passed
17  * along chain or that the LogEvents passed alongare modified
18  * in some manner.</p>
19  *
20  * @author <a HREF="mailto:donaldp@apache.org">Peter Donald</a>
21  */

22 public interface FilterTarget extends LogTarget {
23
24     /**
25      * Add a target to output chain.
26      *
27      * @param target the log target
28      */

29     void addTarget(LogTarget target);
30 }
31
Popular Tags