org.sakaiproject.component.osid.logging
Class WritableLog

java.lang.Object
  extended byorg.sakaiproject.component.osid.logging.WritableLog
All Implemented Interfaces:
Serializable, org.osid.logging.WritableLog

public class WritableLog
extends Object
implements org.osid.logging.WritableLog

See Also:
Serialized Form

Constructor Summary
WritableLog(org.osid.OsidContext context, Map configuration, String logName)
           
 
Method Summary
 void appendLog(Serializable entryItem)
           
 void appendLogWithTypes(Serializable entryItem, org.osid.shared.Type formatType, org.osid.shared.Type priorityType)
           
 void assignFormatType(org.osid.shared.Type formatType)
           
 void assignPriorityType(org.osid.shared.Type priorityType)
           
 String getDisplayName()
           
 org.osid.shared.Id getId()
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WritableLog

public WritableLog(org.osid.OsidContext context,
                   Map configuration,
                   String logName)
            throws org.osid.logging.LoggingException
Method Detail

getDisplayName

public String getDisplayName()
                      throws org.osid.logging.LoggingException
Specified by:
getDisplayName in interface org.osid.logging.WritableLog
Throws:
org.osid.logging.LoggingException

getId

public org.osid.shared.Id getId()
                         throws org.osid.logging.LoggingException
Throws:
org.osid.logging.LoggingException

initialize

public void initialize()
                throws org.osid.logging.LoggingException
Throws:
org.osid.logging.LoggingException

appendLog

public void appendLog(Serializable entryItem)
               throws org.osid.logging.LoggingException
Specified by:
appendLog in interface org.osid.logging.WritableLog
Throws:
org.osid.logging.LoggingException

appendLogWithTypes

public void appendLogWithTypes(Serializable entryItem,
                               org.osid.shared.Type formatType,
                               org.osid.shared.Type priorityType)
                        throws org.osid.logging.LoggingException
Specified by:
appendLogWithTypes in interface org.osid.logging.WritableLog
Throws:
org.osid.logging.LoggingException

assignPriorityType

public void assignPriorityType(org.osid.shared.Type priorityType)
                        throws org.osid.logging.LoggingException
Specified by:
assignPriorityType in interface org.osid.logging.WritableLog
Throws:
org.osid.logging.LoggingException

assignFormatType

public void assignFormatType(org.osid.shared.Type formatType)
                      throws org.osid.logging.LoggingException
Specified by:
assignFormatType in interface org.osid.logging.WritableLog
Throws:
org.osid.logging.LoggingException