Package org.apache.webbeans.logger
Class WebBeansLoggerFacade
- java.lang.Object
-
- org.apache.webbeans.logger.WebBeansLoggerFacade
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPENWEBBEANS_LOGGING_FACTORY_PROP
-
Constructor Summary
Constructors Constructor Description WebBeansLoggerFacade()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object[]args(Object... values)static StringconstructMessage(String messageKey, Object... args)static LoggergetLogger(Class<?> clazz)Gets the new web beans logger instance.static LoggergetLogger(Class<?> clazz, Locale desiredLocale)Gets the new web beans logger instance.static StringgetTokenString(String messageKey)
-
-
-
Field Detail
-
OPENWEBBEANS_LOGGING_FACTORY_PROP
public static final String OPENWEBBEANS_LOGGING_FACTORY_PROP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLogger
public static Logger getLogger(Class<?> clazz)
Gets the new web beans logger instance.- Parameters:
clazz- own the return logger- Returns:
- new logger
-
getLogger
public static Logger getLogger(Class<?> clazz, Locale desiredLocale)
Gets the new web beans logger instance.- Parameters:
clazz- own the return loggerdesiredLocale- Locale used to select the Message resource bundle.- Returns:
- new logger
-
-