Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.logger
Class ConsoleLogger

java.lang.Object
  extended by cytoscape.logger.ConsoleLogger
All Implemented Interfaces:
CyLogHandler

public class ConsoleLogger
extends Object
implements CyLogHandler

The ConsoleLogger is the default log handler for Cytoscape and does nothing much more than issue messages to System.out or System.err, as appropriate.


Method Summary
static ConsoleLogger getLogger()
           
 void handleLog(LogLevel level, String logMessage)
          The only method required is handleLog, which is called whenever the logging mechanism detects that a message appropriate for this handler has been logged.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

handleLog

public void handleLog(LogLevel level,
                      String logMessage)
Description copied from interface: CyLogHandler
The only method required is handleLog, which is called whenever the logging mechanism detects that a message appropriate for this handler has been logged.

Specified by:
handleLog in interface CyLogHandler
Parameters:
level - the level of the message
logMessage - the message itself

getLogger

public static ConsoleLogger getLogger()

www.cytoscape.org