Class FTPLog
java.lang.Object
|
+----FTPLog
- public class FTPLog
- extends Object
The FTPLog class facilitates general logging (such as transfer statistics),
error logging, and debug logging.
Currently, all output goes to stdout.
-
DebugLevel
- How much detail to include in debug output (NYI)
-
LogLevel
- How much detail to include in general log output (NYI)
-
FTPLog()
-
-
DebugMsg(String)
- A general purpose debugging mechanism.
-
LogMsg(String)
- A general purpose logging mechanism.
-
LogTransfer(String, long, long)
- Record a file transfer to the log (NYI)
-
SetDebugLevel(int)
-
-
SetLogLevel(int)
-
DebugLevel
private int DebugLevel
- How much detail to include in debug output (NYI)
LogLevel
int LogLevel
- How much detail to include in general log output (NYI)
FTPLog
public FTPLog()
SetLogLevel
public void SetLogLevel(int Level)
SetDebugLevel
public void SetDebugLevel(int Level)
LogTransfer
public void LogTransfer(String File,
long Bytes,
long Seconds)
- Record a file transfer to the log (NYI)
- Parameters:
- File - The name of the file transfered, including path
- Bytes - The size of the file in bytes
- Seconds - How many seconds the file transfer took
LogMsg
public void LogMsg(String Message)
- A general purpose logging mechanism.
DebugMsg
public void DebugMsg(String s)
- A general purpose debugging mechanism.