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
-
LoggerContext()
-
-
displayString()
- Displays a string to be displayed on the screen for this
context.
-
logString()
- Displays a string to be saved in a log for this
context.
-
setMessage(LoggerMessage)
- Add a message to the context
LoggerContext
public LoggerContext()
setMessage
public void setMessage(LoggerMessage newMessage)
- Add a message to the context
displayString
public String displayString()
- Displays a string to be displayed on the screen for this
context.
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