View Javadoc

1   /*
2    * This file is part of AceLogger.
3    * 
4    * AceLogger is free software: you can redistribute it and/or modify it under the terms of the GNU
5    * Lesser General Public License as published by the Free Software Foundation, either version 3 of
6    * the License, or (at your option) any later version.
7    * 
8    * AceLogger is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9    * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10   * Lesser General Public License for more details.
11   * 
12   * You should have received a copy of the GNU Lesser General Public License along with AceLogger.
13   * If not, see <http://www.gnu.org/licenses/lgpl-3.0.html>.
14   */
15  package net.sourceforge.acelogger;
16  
17  import net.sourceforge.acelogger.appender.Appender;
18  import net.sourceforge.acelogger.level.filter.LevelFilter;
19  import net.sourceforge.acelogger.location.gatherer.LocationGatherer;
20  
21  /**
22   * A Logger "container", this class should be used if you want to specify each component of a
23   * logger.
24   * 
25   * @author Zardi (https://sourceforge.net/users/daniel_zardi)
26   * @version 1.0.0
27   * @since 1.0.0
28   */
29  public class GenericLogger extends BaseLogger {
30  
31  	/**
32  	 * Constructs a GenericLogger using the supplied information.
33  	 * 
34  	 * @param identifier
35  	 *            The identifier of this logger.
36  	 * @param appender
37  	 *            The appender used to log calls.
38  	 * @param filter
39  	 *            The level filter used to determine if a call is suitable for logging or not.
40  	 * @param gatherer
41  	 *            The location gatherer responsible for generation of caller information.
42  	 * @since 1.0.0
43  	 */
44  	public GenericLogger(String identifier, Appender appender, LevelFilter filter,
45  			LocationGatherer gatherer) {
46  		super(identifier, appender, filter, gatherer);
47  	}
48  
49  }