package org.graylog2.syslog4j.impl.backlog.printstream; import org.graylog2.syslog4j.SyslogBackLogHandlerIF; /** * SystemOutSyslogBackLogHandler provides a last-chance mechanism to log messages that fail * (for whatever reason) within the rest of Syslog to System.out. * <p/> * <p>Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy * of the LGPL license is available in the META-INF folder in all * distributions of Syslog4j and in the base directory of the "doc" ZIP.</p> * * @author <syslog4j@productivity.org> * @version $Id: SystemOutSyslogBackLogHandler.java,v 1.2 2009/03/29 17:38:59 cvs Exp $ */ public class SystemOutSyslogBackLogHandler extends PrintStreamSyslogBackLogHandler { public static final SyslogBackLogHandlerIF create() { return new SystemOutSyslogBackLogHandler(); } public SystemOutSyslogBackLogHandler() { super(System.out, true); } public SystemOutSyslogBackLogHandler(boolean appendReason) { super(System.out, true, appendReason); } }