| java.lang.Object org.netbeans.lib.cvsclient.util.Logger
Logger | final public class Logger (Code) | | Handles the logging of communication to and from the server
author: Robert Greig author: Petr Kuzel rewriten to streams |
Method Summary | |
public static void | logInput(byte[] received) Log a message received from the server. | public static void | logInput(byte[] received, int offset, int len) Log a message received from the server. | public static void | logInput(char received) Log a character received from the server. | public static void | logOutput(byte[] sent) Log a message sent to the server. | public static void | setLogging(String logPath) |
logInput | public static void logInput(byte[] received)(Code) | | Log a message received from the server. The message is logged if
logging is enabled
Parameters: received - the data received from the server |
logInput | public static void logInput(byte[] received, int offset, int len)(Code) | | Log a message received from the server. The message is logged if
logging is enabled
Parameters: received - the data received from the server |
logInput | public static void logInput(char received)(Code) | | Log a character received from the server. The message is logged if
logging is enabled
Parameters: received - the data received from the server |
logOutput | public static void logOutput(byte[] sent)(Code) | | Log a message sent to the server. The message is logged if
logging is enabled
Parameters: sent - the data sent to the server |
setLogging | public static void setLogging(String logPath)(Code) | | |
|
|