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

- Packages that use Logger
  Package | Description
  --- | ---
  java.util.logging |

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

    Fields in java.util.logging declared as Logger
    Modifier and Type | Field and Description
    --- | ---
    `static Logger` | Logger.`global` Deprecated. Initialization of this field is prone to deadlocks. The field must be initialized by the Logger class initialization which may cause deadlocks with the LogManager class initialization. In such cases two class initialization wait for each other to complete. The preferred way to get the global logger object is via the call `Logger.getGlobal()`. For compatibility with old JDK versions where the `Logger.getGlobal()` is not available use the call `Logger.getLogger(Logger.GLOBAL_LOGGER_NAME)` or `Logger.getLogger("global")`.

    Methods in java.util.logging that return Logger
    Modifier and Type | Method and Description
    --- | ---
    `static Logger` | Logger.`getAnonymousLogger()` Create an anonymous Logger.
    `static Logger` | Logger.`getAnonymousLogger(String resourceBundleName)` Create an anonymous Logger.
    `static Logger` | Logger.`getGlobal()` Return global logger object with the name Logger.GLOBAL_LOGGER_NAME.
    `static Logger` | Logger.`getLogger(String name)` Find or create a logger for a named subsystem.
    `static Logger` | Logger.`getLogger(String name, String resourceBundleName)` Find or create a logger for a named subsystem.
    `Logger` | Logger.`getParent()` Return the parent for this Logger.

    Methods in java.util.logging with parameters of type Logger
    Modifier and Type | Method and Description
    --- | ---
    `void` | Logger.`setParent(Logger parent)` Set the parent for this Logger.

Copyright © 2025 API Design. All Rights Reserved.