Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. |
Uses of Handler in java.util.logging |
---|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
Handler[] |
Logger.getHandlers()
Get the Handlers associated with this logger. |
Modifier and Type | Method and Description |
---|---|
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. |
Constructor and Description |
---|
MemoryHandler(Handler target,
int size,
Level pushLevel)
Create a MemoryHandler. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.