Skip navigation links
org.openidentityplatform.commons.parent 2.2.3 Documentation

Package org.forgerock.i18n.slf4j

This package provides an alternative localization mechanism to org.slf4j.cal10n.

See: Description

Package org.forgerock.i18n.slf4j Description

This package provides an alternative localization mechanism to org.slf4j.cal10n. 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(this.class);
 logger.error(EXAMPLE_MESSAGE, "a string", 123);
 
Skip navigation links
org.openidentityplatform.commons.parent 2.2.3 Documentation

Copyright © 2025 Open Identity Platform Community. All rights reserved.