站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Uses of Class java.util.logging.Handler (Java 2 Platform SE 5.0) - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.util.logging.Handler

Packages that use Handler
java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. 
 

Uses of Handler in java.util.logging
 

Subclasses of Handler in java.util.logging
 class ConsoleHandler
          This Handler publishes log records to System.err.
 class FileHandler
          Simple file logging Handler.
 class MemoryHandler
          Handler that buffers requests in a circular buffer in memory.
 class SocketHandler
          Simple network logging Handler.
 class StreamHandler
          Stream based logging Handler.
 

Methods in java.util.logging that return Handler
 Handler[] Logger.getHandlers()
          Get the Handlers associated with this logger.
 

Methods in java.util.logging with parameters of type Handler
 void Logger.addHandler(Handler handler)
          Add a log Handler to receive logging messages.
 String XMLFormatter.getHead(Handler h)
          Return the header string for a set of XML formatted records.
 String Formatter.getHead(Handler h)
          Return the header string for a set of formatted records.
 String XMLFormatter.getTail(Handler h)
          Return the tail string for a set of XML formatted records.
 String Formatter.getTail(Handler h)
          Return the tail string for a set of formatted records.
 void Logger.removeHandler(Handler handler)
          Remove a log Handler.
 

Constructors in java.util.logging with parameters of type Handler
MemoryHandler(Handler target, int size, Level pushLevel)
          Create a MemoryHandler.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.