Cytoscape 2.8.0 API

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.


Constructor Summary
protected ConsoleLogger()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleLogger

protected ConsoleLogger()
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()

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.