|
|||||||||
| Home >> All >> java >> util >> [ logging overview ] | PREV NEXT | ||||||||
A
- ALL - Static variable in class java.util.logging.Level
- The
ALLlevel is used as a threshold for filtering log records, meaning that every message should be logged. - addHandler(Handler) - Method in class java.util.logging.Logger
- Adds a handler to the set of handlers that get notified when a log record is to be published.
- addLogger(Logger) - Method in class java.util.logging.LogManager
- Adds a named logger.
- addPropertyChangeListener(PropertyChangeListener) - Method in class java.util.logging.LogManager
- Registers a listener which will be notified when the logging properties are re-read.
- allocateSeqNum() - Static method in class java.util.logging.LogRecord
- Allocates a sequence number for a new LogRecord.
- anonymous - Variable in class java.util.logging.Logger
- Indicates whether or not this logger is anonymous.
- append - Variable in class java.util.logging.FileHandler
- Indicates whether the handler will append log records to existing
files (
true), or whether the handler will clear log files upon switching to them (false). - appendTag(StringBuffer, int, String, String) - Static method in class java.util.logging.XMLFormatter
- Appends a line consisting of indentation, opening element tag, element content, closing element tag and line separator to a StringBuffer, provided that the element content is actually existing.
- appendTag(StringBuffer, int, String, long) - Static method in class java.util.logging.XMLFormatter
- Appends a line consisting of indentation, opening element tag, numeric element content, closing element tag and line separator to a StringBuffer.
B
- buffer - Variable in class java.util.logging.MemoryHandler
- The storage area used for buffering the unpushed log records in memory.
- bundle - Variable in class java.util.logging.LogRecord
C
- CLOSE_FAILURE - Static variable in class java.util.logging.ErrorManager
- Indicates that there was a problem upon closing an output stream.
- CONFIG - Static variable in class java.util.logging.Level
- Log records whose level is
CONFIGare used for describing the static configuration, for example the windowing environment, the operating system version, etc. - CONFIG_PROPERTY - Static variable in class java.util.logging.LogManager
- ConsoleHandler - class java.util.logging.ConsoleHandler.
- A
ConsoleHandlerpublishes log records toSystem.err. - ConsoleHandler() - Constructor for class java.util.logging.ConsoleHandler
- Constructs a
StreamHandlerthat publishes log records toSystem.err. - changeWriter(OutputStream, String) - Method in class java.util.logging.StreamHandler
- checkAccess() - Method in class java.util.logging.LogManager
- Checks whether the current security context allows changing the configuration of the logging framework.
- checkFresh() - Method in class java.util.logging.StreamHandler
- checkOpen() - Method in class java.util.logging.StreamHandler
- close() - Method in class java.util.logging.ConsoleHandler
- Forces any data that may have been buffered to the underlying
output device, but does not close
System.err. - close() - Method in class java.util.logging.Handler
- Closes this
Handlerafter having flushed the buffers. - close() - Method in class java.util.logging.MemoryHandler
- Closes this
MemoryHandlerand its associated target handler, discarding the contents of the memory buffer. - close() - Method in class java.util.logging.StreamHandler
- Closes this
StreamHandlerafter having forced any data that may have been buffered to the underlying output device. - config(String) - Method in class java.util.logging.Logger
- Logs a message with severity level CONFIG.
- controlPermission - Static variable in class java.util.logging.LogManager
- An instance of
LoggingPermission("control")that is shared between calls tocheckAccess(). - count - Variable in class java.util.logging.FileHandler
- The number of log files through which this handler cycles.
- createFileStream(String, int, int, boolean, int) - Method in class java.util.logging.FileHandler
- createInstance(String, Class, String) - Static method in class java.util.logging.LogManager
- Creates a new instance of a class specified by name and verifies that it is an instance (or subclass of) a given type.
- createSocket(String, int) - Static method in class java.util.logging.SocketHandler
- Creates an OutputStream for publishing log records to an Internet host and port.
D
- dateFormat - Variable in class java.util.logging.SimpleFormatter
- An instance of a DateFormatter that is used for formatting the time of a log record into a human-readable string, according to the rules of the current locale.
E
- ErrorManager - class java.util.logging.ErrorManager.
- An
ErrorManagerdeals with errors that aHandlerencounters while logging. - ErrorManager() - Constructor for class java.util.logging.ErrorManager
- encoding - Variable in class java.util.logging.Handler
- entering(String, String) - Method in class java.util.logging.Logger
- entering(String, String, Object) - Method in class java.util.logging.Logger
- entering(String, String, Object[]) - Method in class java.util.logging.Logger
- equals(Object) - Method in class java.util.logging.Level
- Checks whether this Level's integer value is equal to that of another object.
- error(String, Exception, int) - Method in class java.util.logging.ErrorManager
- Reports an error that occured upon logging.
- errorManager - Variable in class java.util.logging.Handler
- everUsed - Variable in class java.util.logging.ErrorManager
- Indicates whether the
ErrorManager.error(java.lang.String, java.lang.Exception, int)55 method of this ErrorManager has ever been used. - exiting(String, String) - Method in class java.util.logging.Logger
- exiting(String, String, Object) - Method in class java.util.logging.Logger
F
- FINE - Static variable in class java.util.logging.Level
- Log records whose level is
FINEare typically used for messages that are relevant for developers using the component generating log messages. - FINER - Static variable in class java.util.logging.Level
- Log records whose level is
FINERare intended for rather detailed tracing, for example entering a method, returning from a method, or throwing an exception. - FINEST - Static variable in class java.util.logging.Level
- Log records whose level is
FINESTare used for highly detailed tracing, for example to indicate that a certain point inside the body of a method has been reached. - FLUSH_FAILURE - Static variable in class java.util.logging.ErrorManager
- Indicates that there was a problem upon flushing an output stream.
- FORMAT_FAILURE - Static variable in class java.util.logging.ErrorManager
- Indicates that there was a problem upon formatting the message of a log record.
- FileHandler - class java.util.logging.FileHandler.
- A
FileHandlerpublishes log records to a set of log files. - FileHandler() - Constructor for class java.util.logging.FileHandler
- Constructs a
FileHandler, taking all property values from the current LogManager configuration. - FileHandler(String) - Constructor for class java.util.logging.FileHandler
- FileHandler(String, boolean) - Constructor for class java.util.logging.FileHandler
- FileHandler(String, int, int) - Constructor for class java.util.logging.FileHandler
- FileHandler(String, int, int, boolean) - Constructor for class java.util.logging.FileHandler
- Constructs a
FileHandlergiven the pattern for the location and name of the produced log files, the size limit, the number of log files thorough which the handler will rotate, and theappendproperty. - FileHandler.ostr - class java.util.logging.FileHandler.ostr.
- An output stream that tracks the number of bytes written to it.
- FileHandler.ostr(OutputStream) - Constructor for class java.util.logging.FileHandler.ostr
- Filter - interface java.util.logging.Filter.
- By implementing the
Filterinterface, applications can control what is being logged based on arbitrary properties, not just the severity level. - Formatter - class java.util.logging.Formatter.
- A
Formattersupports handlers by localizing message texts and by subsituting parameter values for their placeholders. - Formatter() - Constructor for class java.util.logging.Formatter
- Constructs a new Formatter.
- filter - Variable in class java.util.logging.Handler
- filter - Variable in class java.util.logging.Logger
- findAncestor(Logger) - Method in class java.util.logging.LogManager
- Finds the closest ancestor for a logger among the currently registered ones.
- findResourceBundle() - Method in class java.util.logging.Logger
- fine(String) - Method in class java.util.logging.Logger
- Logs a message with severity level FINE.
- finer(String) - Method in class java.util.logging.Logger
- Logs a message with severity level FINER.
- finest(String) - Method in class java.util.logging.Logger
- Logs a message with severity level FINEST.
- flush() - Method in class java.util.logging.Handler
- Forces any data that may have been buffered to the underlying output device.
- flush() - Method in class java.util.logging.MemoryHandler
- Forces any data that may have been buffered by the target
Handlerto the underlying output device, but does not push the contents of the circular memory buffer to the target handler. - flush() - Method in class java.util.logging.StreamHandler
- Forces any data that may have been buffered to the underlying output device.
- format(LogRecord) - Method in class java.util.logging.Formatter
- Formats a LogRecord into a string.
- format(LogRecord) - Method in class java.util.logging.SimpleFormatter
- Formats a log record into a String.
- format(LogRecord) - Method in class java.util.logging.XMLFormatter
- formatMessage(LogRecord) - Method in class java.util.logging.Formatter
- Formats the message part of a log record.
- formatter - Variable in class java.util.logging.Handler
G
- GENERIC_FAILURE - Static variable in class java.util.logging.ErrorManager
- Indicates that there was a failure that does not readily fall into any of the other categories.
- getAnonymousLogger() - Static method in class java.util.logging.Logger
- Creates a new, unnamed logger.
- getAnonymousLogger(String) - Static method in class java.util.logging.Logger
- Creates a new, unnamed logger.
- getBooleanProperty(String, boolean) - Static method in class java.util.logging.LogManager
- Returns the value of a configuration property as a boolean.
- getCallerStackFrame() - Method in class java.util.logging.Logger
- Gets the StackTraceElement of the first class that is not this class.
- getClassProperty(String, Class) - Static method in class java.util.logging.LogManager
- Returns the value of a configuration property as a Class.
- getEncoding() - Method in class java.util.logging.Handler
- Returns the character encoding which this handler uses for publishing log records.
- getErrorManager() - Method in class java.util.logging.Handler
- Returns the
ErrorManagerthat currently deals with errors originating from this Handler. - getFilter() - Method in class java.util.logging.Handler
- Returns the
Filterthat currently controls which log records are being published by thisHandler. - getFilter() - Method in class java.util.logging.Logger
- getFormatter() - Method in class java.util.logging.Handler
- Returns the
Formatterwhich will be used to localize the text of log messages and to substitute message parameters. - getHandlers() - Method in class java.util.logging.Logger
- Returns the handlers currently registered for this Logger.
- getHead(Handler) - Method in class java.util.logging.Formatter
- Returns a string that handlers are supposed to emit before the first log record.
- getHead(Handler) - Method in class java.util.logging.XMLFormatter
- Returns a string that handlers are supposed to emit before the first log record.
- getInstanceProperty(String, Class, Class) - Static method in class java.util.logging.LogManager
- getIntProperty(String, int) - Static method in class java.util.logging.LogManager
- Returns the value of a configuration property as an integer.
- getIntPropertyClamped(String, int, int, int) - Static method in class java.util.logging.LogManager
- Returns the value of a configuration property as an integer, provided it is inside the acceptable range.
- getLevel() - Method in class java.util.logging.Handler
- Returns the severity level threshold for this
HandlerAll log records with a lower severity level will be discarded; a log record of the same or a higher level will be published unless an installedFilterdecides to discard it. - getLevel() - Method in class java.util.logging.LogRecord
- Returns the level of the LogRecord.
- getLevel() - Method in class java.util.logging.Logger
- Returns the severity level threshold for this
Handler. - getLevelProperty(String, Level) - Static method in class java.util.logging.LogManager
- Returns the value of a configuration property as a Level.
- getLocalizedName() - Method in class java.util.logging.Level
- Returns the name of the Level after localizing it, for example "WARNUNG".
- getLogManager() - Static method in class java.util.logging.LogManager
- Returns the globally shared LogManager instance.
- getLogger(String) - Method in class java.util.logging.LogManager
- Returns a Logger given its name.
- getLogger(String) - Static method in class java.util.logging.Logger
- Finds a registered logger for a subsystem, or creates one in case no logger has been registered yet.
- getLogger(String, String) - Static method in class java.util.logging.Logger
- Finds a registered logger for a subsystem, or creates one in case no logger has been registered yet.
- getLoggerName() - Method in class java.util.logging.LogRecord
- Returns the name of the logger where this
LogRecordhas originated. - getLoggerNames() - Method in class java.util.logging.LogManager
- Returns an Enumeration of currently registered Logger names.
- getMessage() - Method in class java.util.logging.LogRecord
- Returns the message for this
LogRecordbefore any localization or parameter substitution. - getMillis() - Method in class java.util.logging.LogRecord
- Returns the time when this
LogRecordwas created. - getName() - Method in class java.util.logging.Level
- Returns the name of the Level without localizing it, for example "WARNING".
- getName() - Method in class java.util.logging.Logger
- Returns the name of this logger.
- getParameters() - Method in class java.util.logging.LogRecord
- Returns the parameters to the log message.
- getParent() - Method in class java.util.logging.Logger
- Returns the parent of this logger.
- getPortNumber() - Static method in class java.util.logging.SocketHandler
- Retrieves the port number from the java.util.logging.SocketHandler.port LogManager property.
- getProperty(String) - Method in class java.util.logging.LogManager
- Returns the value of a configuration property as a String.
- getPushLevel() - Method in class java.util.logging.MemoryHandler
- Returns the push level threshold for this
Handler. - getResourceBundle() - Method in class java.util.logging.LogRecord
- Returns the resource bundle that is used when the message
of this
LogRecordneeds to be localized. - getResourceBundle() - Method in class java.util.logging.Logger
- Returns the resource bundle that is being used for localizing messages.
- getResourceBundleName() - Method in class java.util.logging.Level
- Returns the name of the resource bundle used for localizing the level name.
- getResourceBundleName() - Method in class java.util.logging.LogRecord
- Returns the name of the resource bundle that is used when the
message of this
LogRecordneeds to be localized. - getResourceBundleName() - Method in class java.util.logging.Logger
- Returns the name of the resource bundle that is being used for localizing messages.
- getSequenceNumber() - Method in class java.util.logging.LogRecord
- Returns the sequence number of this
LogRecord. - getSourceClassName() - Method in class java.util.logging.LogRecord
- Returns the name of the class where the event being logged has had its origin.
- getSourceMethodName() - Method in class java.util.logging.LogRecord
- Returns the name of the method where the event being logged has had its origin.
- getTail(Handler) - Method in class java.util.logging.Formatter
- Returns a string that handlers are supposed to emit after the last log record.
- getTail(Handler) - Method in class java.util.logging.XMLFormatter
- getThreadID() - Method in class java.util.logging.LogRecord
- Returns an identifier for the thread in which this
LogRecordwas created. - getThrown() - Method in class java.util.logging.LogRecord
- Returns the Throwable associated with this
LogRecord, ornullif the logged event is not related to an exception or error. - getUseParentHandlers() - Method in class java.util.logging.Logger
- Returns whether or not this Logger forwards log records to handlers registered for its parent loggers.
- global - Static variable in class java.util.logging.Logger
- A logger provided to applications that make only occasional use of the logging framework, typically early prototypes.
H
- Handler - class java.util.logging.Handler.
- A
HandlerpublishesLogRecordsto a sink, for example a file, the console or a network socket. - Handler() - Constructor for class java.util.logging.Handler
- Constructs a Handler with a logging severity level of
Level.ALL, no formatter, no filter, and an instance ofErrorManagermanaging errors. - handlerList - Variable in class java.util.logging.Logger
- handlers - Variable in class java.util.logging.Logger
- has(String, char) - Static method in class java.util.logging.FileHandler
- Tell if
patterncontains the pattern sequence with characterescape. - hashCode() - Method in class java.util.logging.Level
- Returns a hash code for this Level which is based on its numeric value.
I
- INFO - Static variable in class java.util.logging.Level
- Log records whose level is
INFOare used in purely informational situations that do not constitute serious errors or potential problems. - info(String) - Method in class java.util.logging.Logger
- Logs a message with severity level INFO.
- initLogManager() - Static method in class java.util.logging.LogManager
- intValue() - Method in class java.util.logging.Level
- Returns the integer value of the Level.
- isLoggable(LogRecord) - Method in interface java.util.logging.Filter
- Determines whether a LogRecord should be published or discarded.
- isLoggable(LogRecord) - Method in class java.util.logging.Handler
- Checks whether a
LogRecordwould be logged if it was passed to thisHandlerfor publication. - isLoggable(Level) - Method in class java.util.logging.Logger
- Returns whether or not a message of the specified level would be logged by this logger.
- isLoggable(LogRecord) - Method in class java.util.logging.StreamHandler
- Checks whether or not a
LogRecordwould be logged if it was passed to thisStreamHandlerfor publication. - isStandardLevel() - Method in class java.util.logging.Level
- Determines whether or not this Level is one of the standard levels specified in the Logging API.
- iso8601 - Variable in class java.util.logging.XMLFormatter
- A DateFormat for emitting time in the ISO 8601 format.
J
- java.util.logging - package java.util.logging
K
- knownLevels - Static variable in class java.util.logging.Level
L
- Level - class java.util.logging.Level.
- A class for indicating logging levels.
- Level(String, int) - Constructor for class java.util.logging.Level
- Creates a logging level given a name and an integer value.
- Level(String, int, String) - Constructor for class java.util.logging.Level
- Create a logging level given a name, an integer value and a name of a resource bundle for localizing the level name.
- LogManager - class java.util.logging.LogManager.
- The
LogManagermaintains a hierarchical namespace of Logger objects and manages properties for configuring the logging framework. - LogManager() - Constructor for class java.util.logging.LogManager
- LogRecord - class java.util.logging.LogRecord.
- A
LogRecordcontains the state for an individual event to be logged. - LogRecord(Level, String) - Constructor for class java.util.logging.LogRecord
- Constructs a
LogRecordgiven a severity level and an unlocalized message text. - Logger - class java.util.logging.Logger.
- A Logger is used for logging information about events.
- Logger(String, String) - Constructor for class java.util.logging.Logger
- Constructs a Logger for a subsystem.
- LoggingPermission - class java.util.logging.LoggingPermission.
- LoggingPermission(String, String) - Constructor for class java.util.logging.LoggingPermission
- Creates a new LoggingPermission.
- lastSeqNum - Static variable in class java.util.logging.LogRecord
- The last used sequence number for any LogRecord.
- level - Variable in class java.util.logging.Handler
- level - Variable in class java.util.logging.LogRecord
- The severity level of this
LogRecord. - level - Variable in class java.util.logging.Logger
- limit - Variable in class java.util.logging.FileHandler
- The number of bytes a log file is approximately allowed to reach before it is closed and the handler switches to the next file in the rotating set.
- lineSep - Static variable in class java.util.logging.SimpleFormatter
- The character sequence that is used to separate lines in the generated stream.
- lineSep - Static variable in class java.util.logging.XMLFormatter
- The character sequence that is used to separate lines in the generated XML stream.
- locateClass(String) - Static method in class java.util.logging.LogManager
- Locates a class by first checking the system class loader and then checking the context class loader.
- log(LogRecord) - Method in class java.util.logging.Logger
- Passes a record to registered handlers, provided the record
is considered as loggable both by
Logger.isLoggable(Level)55 and a possibly installed custom filter 55 . - log(Level, String) - Method in class java.util.logging.Logger
- log(Level, String, Object) - Method in class java.util.logging.Logger
- log(Level, String, Object[]) - Method in class java.util.logging.Logger
- log(Level, String, Throwable) - Method in class java.util.logging.Logger
- logFiles - Variable in class java.util.logging.FileHandler
- A linked list of files we are, or have written to.
- logImpl(Level, String, String, String, Object[]) - Method in class java.util.logging.Logger
- logManager - Static variable in class java.util.logging.LogManager
- The singleton LogManager instance.
- loggerName - Variable in class java.util.logging.LogRecord
- The name of the logger where this
LogRecordhas originated, ornullif thisLogRecorddoes not originate from aLogger. - loggers - Variable in class java.util.logging.LogManager
- The registered named loggers; maps the name of a Logger to a WeakReference to it.
- logp(Level, String, String, String) - Method in class java.util.logging.Logger
- logp(Level, String, String, String, Object) - Method in class java.util.logging.Logger
- logp(Level, String, String, String, Object[]) - Method in class java.util.logging.Logger
- logp(Level, String, String, String, Throwable) - Method in class java.util.logging.Logger
- logrb(Level, String, String, String, String) - Method in class java.util.logging.Logger
- logrb(Level, String, String, String, String, Object) - Method in class java.util.logging.Logger
- logrb(Level, String, String, String, String, Object[]) - Method in class java.util.logging.Logger
- logrb(Level, String, String, String, String, Throwable) - Method in class java.util.logging.Logger
M
- MANAGER_PROPERTY - Static variable in class java.util.logging.LogManager
- MemoryHandler - class java.util.logging.MemoryHandler.
- A
MemoryHandlermaintains a circular buffer of log records. - MemoryHandler() - Constructor for class java.util.logging.MemoryHandler
- Constructs a
MemoryHandlerfor keeping a circular buffer of LogRecords; the initial configuration is determined by theLogManagerproperties described above. - MemoryHandler(Handler, int, Level) - Constructor for class java.util.logging.MemoryHandler
- Constructs a
MemoryHandlerfor keeping a circular buffer of LogRecords, given some parameters. - makeLogManager() - Static method in class java.util.logging.LogManager
- message - Variable in class java.util.logging.LogRecord
- The message for this
LogRecordbefore any localization or formatting. - millis - Variable in class java.util.logging.LogRecord
- The time when this
LogRecordwas created, in milliseconds since the beginning of January 1, 1970.
N
- name - Variable in class java.util.logging.Level
- The name of the Level without localizing it, for example "WARNING".
- name - Variable in class java.util.logging.Logger
- The name of the Logger, or
nullif the logger is anonymous. - numPublished - Variable in class java.util.logging.MemoryHandler
- The number of log records which have been published, but not pushed yet to the target handler.
O
- OFF - Static variable in class java.util.logging.Level
- The
OFFlevel is used as a threshold for filtering log records, meaning that no message should be logged. - OPEN_FAILURE - Static variable in class java.util.logging.ErrorManager
- Indicates that there was a problem upon opening an output stream.
- out - Variable in class java.util.logging.StreamHandler
P
- parameters - Variable in class java.util.logging.LogRecord
- parent - Variable in class java.util.logging.Logger
- parse(String) - Static method in class java.util.logging.Level
- Returns one of the standard Levels given either its name or its integer value.
- pattern - Variable in class java.util.logging.FileHandler
- The pattern for the location and name of the produced log files.
- pcs - Variable in class java.util.logging.LogManager
- A delegate object that provides support for handling PropertyChangeEvents.
- position - Variable in class java.util.logging.MemoryHandler
- The current position in the circular buffer.
- properties - Variable in class java.util.logging.LogManager
- The properties for the logging framework which have been read in last.
- publish(LogRecord) - Method in class java.util.logging.ConsoleHandler
- Publishes a
LogRecordto the console, provided the record passes all tests for being loggable. - publish(LogRecord) - Method in class java.util.logging.FileHandler
- publish(LogRecord) - Method in class java.util.logging.Handler
- Publishes a
LogRecordto an appropriate sink, provided the record passes all tests for being loggable. - publish(LogRecord) - Method in class java.util.logging.MemoryHandler
- Stores a
LogRecordin a fixed-size circular buffer, provided the record passes all tests for being loggable. - publish(LogRecord) - Method in class java.util.logging.SocketHandler
- Publishes a
LogRecordto the network socket, provided the record passes all tests for being loggable. - publish(LogRecord) - Method in class java.util.logging.StreamHandler
- Publishes a
LogRecordto the associated output stream, provided the record passes all tests for being loggable. - push() - Method in class java.util.logging.MemoryHandler
- Pushes the contents of the memory buffer to the target
Handlerand clears the buffer. - pushLevel - Variable in class java.util.logging.MemoryHandler
- The push level threshold for this
Handler.
R
- readConfiguration() - Method in class java.util.logging.LogManager
- Configures the logging framework by reading a configuration file.
- readConfiguration(InputStream) - Method in class java.util.logging.LogManager
- readObject(ObjectInputStream) - Method in class java.util.logging.LogRecord
- readResolve() - Method in class java.util.logging.Level
- Checks whether the Level has the same intValue as one of the pre-defined levels.
- removeHandler(Handler) - Method in class java.util.logging.Logger
- Removes a handler from the set of handlers that get notified when a log record is to be published.
- removePropertyChangeListener(PropertyChangeListener) - Method in class java.util.logging.LogManager
- Unregisters a listener.
- replaceFileNameEscapes(String, int, int, int) - Static method in class java.util.logging.FileHandler
- Replaces the substrings
"/"by the value of the system property"file.separator","%t"by the value of the system property"java.io.tmpdir","%h"by the value of the system property"user.home","%g"by the value ofgeneration,"%u"by the value ofuniqueNumber, and"%%"by a single percent character. - reportError(String, Exception, int) - Method in class java.util.logging.Handler
- reset() - Method in class java.util.logging.LogManager
- Resets the logging configuration by removing all handlers for
registered named loggers and setting their level to
null. - resetLogger() - Method in class java.util.logging.Logger
- Reset and close handlers attached to this logger.
- resourceBundle - Variable in class java.util.logging.Logger
- The resource bundle used for localization.
- resourceBundleName - Variable in class java.util.logging.Level
- The name of the resource bundle used for localizing the level
name, or
nullif the name does not undergo localization. - resourceBundleName - Variable in class java.util.logging.LogRecord
- The name of the resource bundle used for localizing log messages,
or
nullif no bundle has been specified. - resourceBundleName - Variable in class java.util.logging.Logger
- The name of the resource bundle used for localization.
- root - Static variable in class java.util.logging.Logger
- rotate() - Method in class java.util.logging.FileHandler
- Rotates the current log files, possibly removing one if we exceed the file count.
S
- SEVERE - Static variable in class java.util.logging.Level
- Log records whose level is
SEVEREindicate a serious failure that prevents normal program execution. - STATE_CLOSED - Static variable in class java.util.logging.StreamHandler
- streamState having this value indicates that the close() method has been called.
- STATE_FRESH - Static variable in class java.util.logging.StreamHandler
- streamState having this value indicates that the StreamHandler has been created, but the publish(LogRecord) method has not been called yet.
- STATE_PUBLISHED - Static variable in class java.util.logging.StreamHandler
- streamState having this value indicates that the publish(LocRecord) method has been called at least once.
- SimpleFormatter - class java.util.logging.SimpleFormatter.
- A
SimpleFormatterformats log records into short human-readable messages, typically one or two lines. - SimpleFormatter() - Constructor for class java.util.logging.SimpleFormatter
- Constructs a SimpleFormatter.
- SocketHandler - class java.util.logging.SocketHandler.
- A
SocketHandlerpublishes log records to a TCP/IP socket. - SocketHandler() - Constructor for class java.util.logging.SocketHandler
- Constructs a
SocketHandlerthat publishes log records to a TCP/IP socket. - SocketHandler(String, int) - Constructor for class java.util.logging.SocketHandler
- Constructs a
SocketHandlerthat publishes log records to a TCP/IP socket. - StreamHandler - class java.util.logging.StreamHandler.
- A
StreamHandlerpublishesLogRecordsto a instances ofjava.io.OutputStream. - StreamHandler() - Constructor for class java.util.logging.StreamHandler
- Creates a
StreamHandlerwithout an output stream. - StreamHandler(OutputStream, Formatter) - Constructor for class java.util.logging.StreamHandler
- Creates a
StreamHandlerthat formats log messages with the specified Formatter and publishes them to the specified output stream. - StreamHandler(OutputStream, String, Level, Formatter, Class) - Constructor for class java.util.logging.StreamHandler
- sequenceNumber - Variable in class java.util.logging.LogRecord
- The sequence number of this
LogRecord. - serialVersionUID - Static variable in class java.util.logging.Level
- serialVersionUID - Static variable in class java.util.logging.LogRecord
- Determined with the serialver tool of the Sun J2SE 1.4.
- serialVersionUID - Static variable in class java.util.logging.LoggingPermission
- setEncoding(String) - Method in class java.util.logging.Handler
- Sets the character encoding which this handler uses for publishing log records.
- setEncoding(String) - Method in class java.util.logging.StreamHandler
- Sets the character encoding which this handler uses for publishing log records.
- setErrorManager(ErrorManager) - Method in class java.util.logging.Handler
- setFilter(Filter) - Method in class java.util.logging.Handler
- Sets the
Filterfor controlling which log records will be published by thisHandler. - setFilter(Filter) - Method in class java.util.logging.Logger
- setFormatter(Formatter) - Method in class java.util.logging.Handler
- Sets the
Formatterwhich will be used to localize the text of log messages and to substitute message parameters. - setLevel(Level) - Method in class java.util.logging.Handler
- Sets the severity level threshold for this
Handler. - setLevel(Level) - Method in class java.util.logging.LogRecord
- Sets the severity level of this
LogRecordto a new value. - setLevel(Level) - Method in class java.util.logging.Logger
- Sets the severity level threshold for this
Handler. - setLoggerName(String) - Method in class java.util.logging.LogRecord
- Sets the name of the logger where this
LogRecordhas originated. - setMessage(String) - Method in class java.util.logging.LogRecord
- Sets the message for this
LogRecord. - setMillis(long) - Method in class java.util.logging.LogRecord
- Sets the time when this
LogRecordwas created. - setOutputStream(OutputStream) - Method in class java.util.logging.StreamHandler
- Changes the output stream to which this handler publishes logging records.
- setParameters(Object[]) - Method in class java.util.logging.LogRecord
- Sets the parameters to the log message.
- setParent(Logger) - Method in class java.util.logging.Logger
- Sets the parent of this logger.
- setPushLevel(Level) - Method in class java.util.logging.MemoryHandler
- Sets the push level threshold for this
Handler. - setResourceBundle(ResourceBundle) - Method in class java.util.logging.LogRecord
- Sets the resource bundle that is used when the message
of this
LogRecordneeds to be localized. - setResourceBundleName(String) - Method in class java.util.logging.LogRecord
- Sets the name of the resource bundle that is used when the
message of this
LogRecordneeds to be localized. - setSequenceNumber(long) - Method in class java.util.logging.LogRecord
- Sets the sequence number of this
LogRecordto a new value. - setSourceClassName(String) - Method in class java.util.logging.LogRecord
- Sets the name of the class where the event being logged has had its origin.
- setSourceMethodName(String) - Method in class java.util.logging.LogRecord
- Sets the name of the method where the event being logged has had its origin.
- setThreadID(int) - Method in class java.util.logging.LogRecord
- Sets the identifier indicating in which thread this
LogRecordwas created. - setThrown(Throwable) - Method in class java.util.logging.LogRecord
- Associates this
LogRecordwith an exception or error. - setUseParentHandlers(boolean) - Method in class java.util.logging.Logger
- Sets whether or not this Logger forwards log records to handlers registered for its parent loggers.
- severe(String) - Method in class java.util.logging.Logger
- Logs a message with severity level SEVERE, indicating a serious failure that prevents normal program execution.
- sourceClassName - Variable in class java.util.logging.LogRecord
- The name of the class that issued the logging request, or
nullif this information could not be obtained. - sourceMethodName - Variable in class java.util.logging.LogRecord
- The name of the method that issued the logging request, or
nullif this information could not be obtained. - streamState - Variable in class java.util.logging.StreamHandler
- Indicates the current state of this StreamHandler.
T
- target - Variable in class java.util.logging.MemoryHandler
- The Handler to which log records are forwarded for actual publication.
- threadID - Variable in class java.util.logging.LogRecord
- An identifier for the thread in which this
LogRecordwas created. - throwing(String, String, Throwable) - Method in class java.util.logging.Logger
- thrown - Variable in class java.util.logging.LogRecord
- The Throwable associated with this
LogRecord, ornullif the logged event is not related to an exception or error. - toString() - Method in class java.util.logging.Level
- Returns the name of the Level without localizing it, for example "WARNING".
U
- useParentHandlers - Variable in class java.util.logging.Logger
V
W
- WARNING - Static variable in class java.util.logging.Level
- Log records whose level is
WARNINGindicate a potential problem that does not prevent normal program execution. - WRITE_FAILURE - Static variable in class java.util.logging.ErrorManager
- Indicates that there was a problem upon writing to an output stream.
- warn(String, String, Throwable) - Static method in class java.util.logging.LogManager
- warn(String, String, String) - Static method in class java.util.logging.LogManager
- warn(String, String, String, Throwable) - Static method in class java.util.logging.LogManager
- warn(String, Throwable) - Static method in class java.util.logging.LogManager
- All debug warnings go through this method.
- warning(String) - Method in class java.util.logging.Logger
- Logs a message with severity level WARNING, indicating a potential problem that does not prevent normal program execution.
- write(int) - Method in class java.util.logging.FileHandler.ostr
- write(byte[]) - Method in class java.util.logging.FileHandler.ostr
- write(byte[], int, int) - Method in class java.util.logging.FileHandler.ostr
- writeObject(ObjectOutputStream) - Method in class java.util.logging.LogRecord
- writer - Variable in class java.util.logging.StreamHandler
- written - Variable in class java.util.logging.FileHandler
- The number of bytes that have currently been written to the stream.
X
- XMLFormatter - class java.util.logging.XMLFormatter.
- An
XMLFormatterformats LogRecords into a standard XML format. - XMLFormatter() - Constructor for class java.util.logging.XMLFormatter
- Constructs a new XMLFormatter.
A B C D E F G H I J K L M N O P R S T U V W X
|
|||||||||
| Home >> All >> java >> util >> [ logging overview ] | PREV NEXT | ||||||||