org.jupe.plugin
Class JupeLog

java.lang.Object
  extended by org.jupe.plugin.JupeLog

public final class JupeLog
extends java.lang.Object

The Jupe logging class.

Author:
Emanuel Thomas

Method Summary
 void addLogEntry(java.lang.String message, boolean shouldBePrinted)
          Adds a message to the log.
static JupeLog getJupeLog()
          Returns the JupeLog instance (Singleton).
 java.util.List getJupeLogList()
          Returns the list of logged messages.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJupeLog

public static JupeLog getJupeLog()
Returns the JupeLog instance (Singleton).

Returns:
the JupeLog

getJupeLogList

public java.util.List getJupeLogList()
Returns the list of logged messages.

Returns:
the list of logged messages.

addLogEntry

public void addLogEntry(java.lang.String message,
                        boolean shouldBePrinted)
Adds a message to the log.

Parameters:
message - the log message
shouldBePrinted - if the message should be printed