Class JSftpModule.JSftpLogger

java.lang.Object
ecmwf.common.ectrans.module.JSftpModule.JSftpLogger
All Implemented Interfaces:
com.jcraft.jsch.Logger
Enclosing class:
JSftpModule

public static final class JSftpModule.JSftpLogger extends Object implements com.jcraft.jsch.Logger
The Class JSftpLogger.
  • Field Summary

    Fields inherited from interface com.jcraft.jsch.Logger

    DEBUG, ERROR, FATAL, INFO, WARN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isEnabled(int level)
    Checks if is enabled.
    void
    log(int level, String message)
    Log.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.jcraft.jsch.Logger

    log
  • Constructor Details

    • JSftpLogger

      public JSftpLogger()
  • Method Details

    • isEnabled

      public boolean isEnabled(int level)
      Checks if is enabled.
      Specified by:
      isEnabled in interface com.jcraft.jsch.Logger
      Parameters:
      level - the level
      Returns:
      true, if is enabled
    • log

      public void log(int level, String message)
      Log.
      Specified by:
      log in interface com.jcraft.jsch.Logger
      Parameters:
      level - the level
      message - the message