java.util.logging.See: Description
| Class | Description |
|---|---|
| LocalizedLogger |
A logger implementation which formats and localizes messages before
forwarding them to an underlying Java
Logger. |
| LocalizedLoggerFactory |
A factory of
LocalizedLogger instances which obtains a Java
Logger by calling the appropriate Logger factory method and
wrapping it in an instance of LocalizedLogger. |
java.util.logging. Using the ForgeRock I18N framework for logging
ensures that message type safety is enforced at compile time.
Example usage:
import static com.example.AppMessages.EXAMPLE_MESSAGE;
...
// EXAMPLE_MESSAGE has parameters String and Integer
LocalizedLogger logger = LocalizedLogger.getLocalizedLogger("mylogger");
logger.warning(EXAMPLE_MESSAGE, "a string", 123);
Copyright © 2025 Open Identity Platform Community. All rights reserved.