0
|
1 package com.trilead.ssh2;
|
|
2
|
|
3 /**
|
|
4 * An interface which needs to be implemented if you
|
|
5 * want to capture debugging messages.
|
|
6 *
|
|
7 * @see Connection#enableDebugging(boolean, DebugLogger)
|
|
8 *
|
|
9 * @author Christian Plattner, plattner@trilead.com
|
|
10 * @version $Id: DebugLogger.java,v 1.1 2008/03/03 07:01:36 cplattne Exp $
|
|
11 */
|
|
12 public interface DebugLogger {
|
|
13
|
|
14 /**
|
|
15 * Log a debug message.
|
|
16 *
|
|
17 * @param level 0-99, 99 is a the most verbose level
|
|
18 * @param className the class that generated the message
|
|
19 * @param message the debug message
|
|
20 */
|
|
21 public void log(int level, String className, String message);
|
|
22 }
|