| java.lang.Object org.apache.openejb.util.Logger
Logger | public class Logger (Code) | | |
Method Summary | |
public String | debug(String message) | public String | debug(String message, Object... args) | public String | debug(String message, Throwable t) | public String | debug(String message, Throwable t, Object... args) | public String | error(String message) | public String | error(String message, Object... args) | public String | error(String message, Throwable t) | public String | error(String message, Throwable t, Object... args) | public String | fatal(String message) | public String | fatal(String message, Object... args) | public String | fatal(String message, Throwable t) | public String | fatal(String message, Throwable t, Object... args) | public Logger | getChildLogger(String child) | public static Logger | getInstance(LogCategory category, String baseName) Finds a Logger from the cache and returns it. | public static Logger | getInstance(LogCategory category, Class clazz) | public String | info(String message) | public String | info(String message, Object... args) | public String | info(String message, Throwable t) | public String | info(String message, Throwable t, Object... args) | public boolean | isDebugEnabled() | public boolean | isErrorEnabled() | public boolean | isFatalEnabled() | public boolean | isInfoEnabled() | public boolean | isWarningEnabled() | public String | warning(String message) | public String | warning(String message, Object... args) | public String | warning(String message, Throwable t) | public String | warning(String message, Throwable t, Object... args) |
debug | public String debug(String message)(Code) | | If this level is enabled, then it finds a message for the given key and logs it
Parameters: message - - This could be a plain message or a key in Messages.properties the formatted i18n message |
getInstance | public static Logger getInstance(LogCategory category, String baseName)(Code) | | Finds a Logger from the cache and returns it. If not found in cache then builds a Logger and returns it.
Parameters: category - - The category of the logger Parameters: baseName - - The baseName for the ResourceBundle Logger |
isDebugEnabled | public boolean isDebugEnabled()(Code) | | |
isErrorEnabled | public boolean isErrorEnabled()(Code) | | |
isFatalEnabled | public boolean isFatalEnabled()(Code) | | |
isInfoEnabled | public boolean isInfoEnabled()(Code) | | |
isWarningEnabled | public boolean isWarningEnabled()(Code) | | |
|
|