Package | Description |
---|---|
java.util.logging |
Provides the classes and interfaces of
the Java™ 2 platform's core logging facilities.
|
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 |
Formatter.getHead(Handler h)
Return the header string for a set of formatted records.
|
String |
XMLFormatter.getHead(Handler h)
Return the header string for a set of XML formatted records.
|
String |
Formatter.getTail(Handler h)
Return the tail string for a set of formatted records.
|
String |
XMLFormatter.getTail(Handler h)
Return the tail string for a set of XML formatted records.
|
void |
Logger.removeHandler(Handler handler)
Remove a log Handler.
|
Constructor and Description |
---|
MemoryHandler(Handler target,
int size,
Level pushLevel)
Create a
MemoryHandler . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait