|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogHandler
LogHandler is the interface that all logging handlers - the ultimate consumers of logging data - must implement. Implementations of this interface are usually containers for a java.util.logging.Handler object, exposing methods to initialize, shutdown, and perform scheduled service on the underlying Handler
Method Summary | |
---|---|
void |
addObserver(java.util.Observer observer)
Adds a log observer |
java.util.logging.Handler |
getHandler()
Retrieves the log handler object |
void |
init(java.util.Properties props)
Initializes the log handler |
void |
setPolicy(java.util.Properties props)
Applies a management policy to the handler |
void |
shutdown()
Shuts down the log handler |
Method Detail |
---|
void init(java.util.Properties props)
props
- handler propertiesvoid setPolicy(java.util.Properties props)
props
- management propertiesvoid addObserver(java.util.Observer observer)
observer
- the observerjava.util.logging.Handler getHandler()
void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |