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
-
SelectiveLogger()
-
-
debugOff()
- Turns logging of debug statements off.
-
debugOn()
- Turns logging of debug statements on.
-
errorOff()
- Turns logging of error statements off.
-
errorOn()
- Turns logging of error statements on.
-
log(LoggerMessage)
- Add the LogMessage object to the log.
-
logOff()
- Turns logging of log statements off.
-
logOn()
- Turns logging of log statements on.
-
messageTypeOff(String)
- Turns logging off for messages of the given type.
-
messageTypeOn(String)
- Turns logging on for messages of the given type.
-
warningOff()
- Turns logging of warning statements off.
-
warningOn()
- Turns logging of warning statements on.
SelectiveLogger
public SelectiveLogger()
messageTypeOff
public void messageTypeOff(String messageType)
- Turns logging off for messages of the given type.
messageTypeOn
public void messageTypeOn(String messageType)
- Turns logging on for messages of the given type.
debugOn
public void debugOn()
- Turns logging of debug statements on.
errorOn
public void errorOn()
- Turns logging of error statements on.
warningOn
public void warningOn()
- Turns logging of warning statements on.
logOn
public void logOn()
- Turns logging of log statements on.
debugOff
public void debugOff()
- Turns logging of debug statements off.
errorOff
public void errorOff()
- Turns logging of error statements off.
warningOff
public void warningOff()
- Turns logging of warning statements off.
logOff
public void logOff()
- Turns logging of log statements off.
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