Package org.apache.log4j.helpers

Examples of org.apache.log4j.helpers.TCPSyslogWriter


   */
  public
  void setSyslogHost(final String syslogHost) {
    final Writer syslogWriter;
    if (syslogHost.startsWith("tcp:")) {
        syslogWriter = new TCPSyslogWriter(syslogHost);
    } else {
        syslogWriter = new SyslogWriter(syslogHost);
    }
    this.sqw = new SyslogQuietWriter(syslogWriter,
                                     syslogFacility, errorHandler);
View Full Code Here


   */
  public
  void setSyslogHost(final String syslogHost) {
    final Writer syslogWriter;
    if (syslogHost.startsWith("tcp:")) {
        syslogWriter = new TCPSyslogWriter(syslogHost);
    } else {
        syslogWriter = new SyslogWriter(syslogHost);
    }
    this.sqw = new SyslogQuietWriter(syslogWriter,
                                     syslogFacility, errorHandler);
View Full Code Here

TOP

Related Classes of org.apache.log4j.helpers.TCPSyslogWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.