net.sf.taverna.raven.log
Interface LogInterface

All Known Implementing Classes:
ConsoleLog, JavaLog, Log4jLog

public interface LogInterface

Interface for a logger to be used by Log, set by Log.setImplementation(LogInterface).

Implementations of this interface would typically interface a real logging system such as log4j.

Author:
Stian Soiland-Reyes

Nested Class Summary
static class LogInterface.Priority
          Possible priorities.
 
Method Summary
 LogInterface getLogger(java.lang.Class c)
           
 void log(LogInterface.Priority p, java.lang.Object msg, java.lang.Throwable ex)
          Log a message.
 

Method Detail

getLogger

LogInterface getLogger(java.lang.Class c)

log

void log(LogInterface.Priority p,
         java.lang.Object msg,
         java.lang.Throwable ex)
Log a message.

Parameters:
p - Priority
msg - Message
ex - Exception