Uses of Class java.util.logging.LogRecord (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.util.logging.LogRecord

- Packages that use LogRecord
  Package | Description
  --- | ---
  java.util.logging | Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities.

- - ### Uses of LogRecord in java.util.logging

    Methods in java.util.logging with parameters of type LogRecord
    Modifier and Type | Method and Description
    --- | ---
    `String` | SimpleFormatter.`format(LogRecord record)` Format the given LogRecord.
    `abstract String` | Formatter.`format(LogRecord record)` Format the given log record and return the formatted string.
    `String` | XMLFormatter.`format(LogRecord record)` Format the given message to XML.
    `String` | Formatter.`formatMessage(LogRecord record)` Localize and format the message string from a log record.
    `boolean` | Filter.`isLoggable(LogRecord record)` Check if a given log record should be published.
    `boolean` | MemoryHandler.`isLoggable(LogRecord record)` Check if this `Handler` would actually log a given `LogRecord` into its internal buffer.
    `boolean` | Handler.`isLoggable(LogRecord record)` Check if this `Handler` would actually log a given `LogRecord`.
    `boolean` | StreamHandler.`isLoggable(LogRecord record)` Check if this `Handler` would actually log a given `LogRecord`.
    `void` | Logger.`log(LogRecord record)` Log a LogRecord.
    `void` | ConsoleHandler.`publish(LogRecord record)` Publish a `LogRecord`.
    `void` | MemoryHandler.`publish(LogRecord record)` Store a `LogRecord` in an internal buffer.
    `void` | SocketHandler.`publish(LogRecord record)` Format and publish a `LogRecord`.
    `abstract void` | Handler.`publish(LogRecord record)` Publish a `LogRecord`.
    `void` | FileHandler.`publish(LogRecord record)` Format and publish a `LogRecord`.
    `void` | StreamHandler.`publish(LogRecord record)` Format and publish a `LogRecord`.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.