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.appender;
16
17 import net.sourceforge.acelogger.execution.manager.ExecutorManager;
18 import net.sourceforge.acelogger.formatter.Formatter;
19
20 /**
21 * An implementation of Appender that will write to System.out.
22 *
23 * @author Zardi (https://sourceforge.net/users/daniel_zardi)
24 * @version 1.0.0
25 * @since 1.0.0
26 */
27 public final class SystemOutAppender extends PrintStreamAppender {
28
29 /**
30 * Constructs a new SystemOutAppender with the supplied information.
31 *
32 * @param identifier
33 * A string that identifies this appender.
34 * @param formatter
35 * The Formatter used to format each log call.
36 * @param executor
37 * The ExecutorManager used to process the log calls.
38 * @since 1.0.0
39 */
40 public SystemOutAppender(String identifier, Formatter formatter, ExecutorManager executor) {
41 super(identifier, System.out, formatter, executor);
42 }
43
44 }