All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sdsu.logging.SelectiveLogger

java.lang.Object
   |
   +----sdsu.logging.LoggerImplementation
           |
           +----sdsu.logging.SelectiveLogger

public abstract class SelectiveLogger
extends LoggerImplementation
SelectiveLogger allows you to turn off logging for a type of message. Default activity is logging turn on for all types of messages.

Version:
1.1 18 January 1998
Author:
Roger Whitney (whitney@cs.sdsu.edu)
See Also:
Logger

Constructor Index

 o SelectiveLogger()

Method Index

 o debugOff()
Turns logging of debug statements off.
 o debugOn()
Turns logging of debug statements on.
 o errorOff()
Turns logging of error statements off.
 o errorOn()
Turns logging of error statements on.
 o log(LoggerMessage)
Add the LogMessage object to the log.
 o logOff()
Turns logging of log statements off.
 o logOn()
Turns logging of log statements on.
 o messageTypeOff(String)
Turns logging off for messages of the given type.
 o messageTypeOn(String)
Turns logging on for messages of the given type.
 o warningOff()
Turns logging of warning statements off.
 o warningOn()
Turns logging of warning statements on.

Constructors

 o SelectiveLogger
 public SelectiveLogger()

Methods

 o messageTypeOff
 public void messageTypeOff(String messageType)
Turns logging off for messages of the given type.

 o messageTypeOn
 public void messageTypeOn(String messageType)
Turns logging on for messages of the given type.

 o debugOn
 public void debugOn()
Turns logging of debug statements on.

 o errorOn
 public void errorOn()
Turns logging of error statements on.

 o warningOn
 public void warningOn()
Turns logging of warning statements on.

 o logOn
 public void logOn()
Turns logging of log statements on.

 o debugOff
 public void debugOff()
Turns logging of debug statements off.

 o errorOff
 public void errorOff()
Turns logging of error statements off.

 o warningOff
 public void warningOff()
Turns logging of warning statements off.

 o logOff
 public void logOff()
Turns logging of log statements off.

 o log
 public void log(LoggerMessage message)
Add the LogMessage object to the log. Subclasses must implement.

Overrides:
log in class LoggerImplementation

All Packages  Class Hierarchy  This Package  Previous  Next  Index