| org.pentaho.util.logging.ILogger
All known Subclasses: org.pentaho.ui.portlet.BasePortlet, org.pentaho.core.system.PentahoBase, org.pentaho.ui.servlet.ServletBase, org.pentaho.util.logging.SimpleLogger,
ILogger | public interface ILogger (Code) | | The Logger is the main interface into the platform's logging subsystem.
Note: Documentation taken from Log4j Javadoc documentation.
|
Field Summary | |
final public static String | ACTIVITY_LOG | final public static int | DEBUG The DEBUG Level designates fine-grained informational events that are
most useful to debug an application. | final public static int | ERROR The ERROR level designates error events that might still allow the
application to continue running. | final public static int | FATAL The FATAL level designates very severe error events that will presumably
lead the application to abort. | final public static int | INFO The INFO level designates informational messages that highlight the
progress of the application at coarse-grained level. | final public static String | INSTANCE_LOG | final public static String | SESSION_LOG | final public static String | SOLUTION_LOG | final public static int | TRACE The TRACE has the lowest possible rank and is intended to turn on all
logging. | final public static int | UNKNOWN | final public static int | WARN The WARN level designates potentially harmful situations. |
DEBUG | final public static int DEBUG(Code) | | The DEBUG Level designates fine-grained informational events that are
most useful to debug an application.
|
ERROR | final public static int ERROR(Code) | | The ERROR level designates error events that might still allow the
application to continue running.
|
FATAL | final public static int FATAL(Code) | | The FATAL level designates very severe error events that will presumably
lead the application to abort.
|
INFO | final public static int INFO(Code) | | The INFO level designates informational messages that highlight the
progress of the application at coarse-grained level.
|
TRACE | final public static int TRACE(Code) | | The TRACE has the lowest possible rank and is intended to turn on all
logging.
|
UNKNOWN | final public static int UNKNOWN(Code) | | |
WARN | final public static int WARN(Code) | | The WARN level designates potentially harmful situations.
|
debug | public void debug(String message)(Code) | | Log a message object with the
ILogger.DEBUG DEBUG Level.
Parameters: message - the message object to log. |
debug | public void debug(String message, Throwable error)(Code) | | Log a message with the
ILogger.DEBUG DEBUG level including the stack
trace of the Throwable error passed as parameter.
Parameters: message - the message object to log. Parameters: error - the exception to log, including its stack trace. |
error | public void error(String message)(Code) | | Log a message object with the
ILogger.ERROR ERROR Level.
Parameters: message - the message object to log. |
error | public void error(String message, Throwable error)(Code) | | Log a message with the
ILogger.ERROR ERROR level including the stack
trace of the Throwable error passed as parameter.
Parameters: message - the message object to log. Parameters: error - the exception to log, including its stack trace. |
fatal | public void fatal(String message)(Code) | | Log a message object with the
ILogger.FATAL FATAL Level.
Parameters: message - the message object to log. |
fatal | public void fatal(String message, Throwable error)(Code) | | Log a message with the
ILogger.FATAL FATAL level including the stack
trace of the Throwable error passed as parameter.
Parameters: message - the message object to log. Parameters: error - the exception to log, including its stack trace. |
getLoggingLevel | public int getLoggingLevel()(Code) | | Return the logging level for this Logger.
logging level |
info | public void info(String message)(Code) | | Log a message object with the
ILogger.INFO INFO Level.
Parameters: message - the message object to log. |
info | public void info(String message, Throwable error)(Code) | | Log a message with the
ILogger.INFO INFO level including the stack trace
of the Throwable error passed as parameter.
Parameters: message - the message object to log. Parameters: error - the exception to log, including its stack trace. |
trace | public void trace(String message)(Code) | | Log a message object with the
ILogger.TRACE TRACE Level.
Parameters: message - the message object to log. |
trace | public void trace(String message, Throwable error)(Code) | | Log a message with the
ILogger.TRACE TRACE level including the stack
trace of the Throwable error passed as parameter.
Parameters: message - the message object to log. Parameters: error - the exception to log, including its stack trace. |
warn | public void warn(String message)(Code) | | Log a message object with the
ILogger.WARN WARN Level.
Parameters: message - the message object to log. |
warn | public void warn(String message, Throwable error)(Code) | | Log a message with the
ILogger.WARN WARN level including the stack trace
of the Throwable error passed as parameter.
Parameters: message - the message object to log. Parameters: error - the exception to log, including its stack trace. |
|
|