public interface Logger
The library provides a default implementation which sends the
output to /dev/null
, i.e. does not do any logging.
JSch.setLogger(com.jcraft.jsch.Logger)
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG
Log level constant - the lowest level (only use for debugging).
|
static int |
ERROR
Log level constant: the second-highest level, something
occured which should not have.
|
static int |
FATAL
Log level constant: the highest level: something did get so wrong
that recovering is not possible.
|
static int |
INFO
Log level constant: The second lowest level, information.
|
static int |
WARN
Log level constant: the middle level, a warning.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled(int level)
Checks if logging of some level is actually enabled.
|
void |
log(int level,
String message)
Logs some message.
|
static final int DEBUG
static final int INFO
static final int WARN
static final int ERROR
static final int FATAL
boolean isEnabled(int level)
log(int, java.lang.String)
.This is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.