org.netbeans.lib.cvsclient.util
Class Logger

java.lang.Object
  extended byorg.netbeans.lib.cvsclient.util.Logger

public final class Logger
extends java.lang.Object

Handles the logging of communication to and from the server


Constructor Summary
Logger()
           
 
Method Summary
static void logInput(char received)
          Log a character received from the server.
static void logInput(java.lang.String received)
          Log a message received from the server.
static void logOutput(java.lang.String sent)
          Log a message sent to the server.
static void setLogging(java.lang.String logPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Method Detail

setLogging

public static void setLogging(java.lang.String logPath)

logInput

public static void logInput(java.lang.String received)
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)
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(java.lang.String sent)
Log a message sent to the server. The message is logged if logging is enabled

Parameters:
sent - the data sent to the server


Built on December 18 2007.  |  Portions Copyright 1997-2003 Sun Microsystems, Inc. All rights reserved.