All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sdsu.logging.LoggerContext

java.lang.Object
   |
   +----sdsu.logging.LoggerContext

public abstract class LoggerContext
extends Object
implements Serializable
LoggerContext and its subclasses are used by sdsu.logging.Logger. Contexts allow storage of information between individual messages. Java does not lend it self to using context as used in the orginal article listed below.

The logging system is based on the logging pattern by Neil Harrison in Pattern Languages of Program Design 3 Eds Martin, Riehle, Buschman, 1998, pp 277-289

Version:
1.0 11 January 1998
Author:
Roger Whitney (whitney@cs.sdsu.edu)
See Also:
Logger, LoggerMessage

Constructor Index

 o LoggerContext()

Method Index

 o displayString()
Displays a string to be displayed on the screen for this context.
 o logString()
Displays a string to be saved in a log for this context.
 o setMessage(LoggerMessage)
Add a message to the context

Constructors

 o LoggerContext
 public LoggerContext()

Methods

 o setMessage
 public void setMessage(LoggerMessage newMessage)
Add a message to the context

 o displayString
 public String displayString()
Displays a string to be displayed on the screen for this context.

 o logString
 public String logString()
Displays a string to be saved in a log for this context.


All Packages  Class Hierarchy  This Package  Previous  Next  Index