Mercurial > 510Connectbot
comparison src/com/trilead/ssh2/DebugLogger.java @ 0:0ce5cc452d02
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2014 10:41:19 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0ce5cc452d02 |
---|---|
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 } |