org.purl.sword.base
Class InfoLogger

java.lang.Object
  extended by org.purl.sword.base.InfoLogger

public class InfoLogger
extends Object


Constructor Summary
InfoLogger()
           
 
Method Summary
static InfoLogger getLogger()
          Returns the single instance of this class.
 void setLevel(InfoLoggerLevel level)
           
 void writeError(String message)
           
 void writeInfo(String message)
           
 void writeWarning(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoLogger

public InfoLogger()
Method Detail

setLevel

public void setLevel(InfoLoggerLevel level)

getLogger

public static InfoLogger getLogger()
Returns the single instance of this class. If this is the first call, the logger is created on this call.

Returns:
The InfoLogger.

writeError

public void writeError(String message)

writeInfo

public void writeInfo(String message)

writeWarning

public void writeWarning(String message)


Copyright © 2008 The DSpace Foundation. All Rights Reserved.