Sdílet prostřednictvím


Java.Util.Logging Namespace

Classes

ConsoleHandler

This Handler publishes log records to System.err.

ErrorManager

ErrorManager objects can be attached to Handlers to process any error that occurs on a Handler during Logging.

FileHandler

Simple file logging Handler.

Formatter

A Formatter provides support for formatting LogRecords.

Handler

A Handler object takes log messages from a Logger and exports them.

Level

The Level class defines a set of standard logging levels that can be used to control logging output.

Logger

A Logger object is used to log messages for a specific system or application component.

LoggingPermission

Legacy security code; do not use.

LogManager

There is a single global LogManager object that is used to maintain a set of shared state about Loggers and log services.

LogRecord

LogRecord objects are used to pass logging requests between the logging framework and individual log Handlers.

MemoryHandler

Handler that buffers requests in a circular buffer in memory.

SimpleFormatter

Print a brief summary of the LogRecord in a human readable format.

SocketHandler

Simple network logging Handler.

StreamHandler

Stream based logging Handler.

XMLFormatter

Format a LogRecord into a standard XML format.

Interfaces

IFilter

A Filter can be used to provide fine grain control over what is logged, beyond the control provided by log levels.

ILoggingMXBean

The management interface for the logging facility.