cytoscape.logger
Class ConsoleLogger
java.lang.Object
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. |
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 messagelogMessage
- the message itself
getLogger
public static ConsoleLogger getLogger()