| java.lang.Object org.apache.openejb.util.Log4jLog
Log4jLog | public class Log4jLog (Code) | | |
Field Summary | |
protected org.apache.log4j.Logger | _logger |
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 static Log4jLog | getInstance(LogCategory category, String baseName) Finds a Logger from the cache and returns it. | public static Log4jLog | getInstance(LogCategory category, Class clazz) | public Log4jLog | getLogger(String moduleId) | 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) |
_logger | protected org.apache.log4j.Logger _logger(Code) | | |
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 Log4jLog 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) | | |
|
|