aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/trilead/ssh2/DebugLogger.java
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2008-08-26 05:10:04 +0000
committerKenny Root <kenny@the-b.org>2008-08-26 05:10:04 +0000
commitc1e41c03ad352b00e88a926db600937f2ab06e50 (patch)
tree7397de044710bdab7947c0e02730dd48f2eb312a /src/com/trilead/ssh2/DebugLogger.java
parenta92df389bc091f288116a292fd265e1986814865 (diff)
downloadconnectbot-c1e41c03ad352b00e88a926db600937f2ab06e50.tar.gz
connectbot-c1e41c03ad352b00e88a926db600937f2ab06e50.tar.bz2
connectbot-c1e41c03ad352b00e88a926db600937f2ab06e50.zip
Update Trilead SSH-2 for Java from build 211 to build 213
Diffstat (limited to 'src/com/trilead/ssh2/DebugLogger.java')
-rw-r--r--src/com/trilead/ssh2/DebugLogger.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/com/trilead/ssh2/DebugLogger.java b/src/com/trilead/ssh2/DebugLogger.java
new file mode 100644
index 0000000..731fa28
--- /dev/null
+++ b/src/com/trilead/ssh2/DebugLogger.java
@@ -0,0 +1,23 @@
+package com.trilead.ssh2;
+
+/**
+ * An interface which needs to be implemented if you
+ * want to capture debugging messages.
+ *
+ * @see Connection#enableDebugging(boolean, DebugLogger)
+ *
+ * @author Christian Plattner, plattner@trilead.com
+ * @version $Id: DebugLogger.java,v 1.1 2008/03/03 07:01:36 cplattne Exp $
+ */
+public interface DebugLogger
+{
+
+/**
+ * Log a debug message.
+ *
+ * @param level 0-99, 99 is a the most verbose level
+ * @param className the class that generated the message
+ * @param message the debug message
+ */
+ public void log(int level, String className, String message);
+}