Class ConnectionLoggingContext

java.lang.Object
com.sshtools.synergy.ssh.ConnectionLoggingContext
All Implemented Interfaces:
EventListener, com.sshtools.common.logger.LoggerContext

public class ConnectionLoggingContext extends Object implements com.sshtools.common.logger.LoggerContext, EventListener
  • Method Details

    • isLogging

      public boolean isLogging(com.sshtools.common.logger.Log.Level level)
      Specified by:
      isLogging in interface com.sshtools.common.logger.LoggerContext
    • log

      public void log(com.sshtools.common.logger.Log.Level level, String msg, Throwable e, Object... args)
      Specified by:
      log in interface com.sshtools.common.logger.LoggerContext
    • open

      public void open(Connection<?> con) throws IOException
      Throws:
      IOException
    • startLogging

      public void startLogging(SshConnection con) throws IOException
      Throws:
      IOException
    • startLogging

      public void startLogging(SshConnection con, com.sshtools.common.logger.Log.Level level) throws IOException
      Throws:
      IOException
    • close

      public void close(Connection<?> con)
    • raw

      public void raw(com.sshtools.common.logger.Log.Level level, String msg)
      Specified by:
      raw in interface com.sshtools.common.logger.LoggerContext
    • close

      public void close()
      Specified by:
      close in interface com.sshtools.common.logger.LoggerContext
    • newline

      public void newline()
      Specified by:
      newline in interface com.sshtools.common.logger.LoggerContext
    • processEvent

      public void processEvent(Event evt)
      Specified by:
      processEvent in interface EventListener