public interface ApplicationLogging
extends atg.core.logging.Logging
LogListener
s. Provides methods
for checking whether debugging is enable for various logging categories,
and methods for logging to those categories.
Note that you should always check the isLoggingX() status before logging at the corresponding log level.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static boolean |
DEFAULT_LOG_DEBUG_STATUS |
static boolean |
DEFAULT_LOG_ERROR_STATUS |
static boolean |
DEFAULT_LOG_INFO_STATUS |
static boolean |
DEFAULT_LOG_WARNING_STATUS |
Modifier and Type | Method and Description |
---|---|
boolean |
isLoggingDebug()
This method returns whether or not an debug log event should be
broadcast.
|
boolean |
isLoggingError()
This method returns whether or not an error log event should be
broadcast.
|
boolean |
isLoggingInfo()
This method returns whether or not an info log event should be
broadcast.
|
boolean |
isLoggingWarning()
This method returns whether or not an warning log event should be
broadcast.
|
void |
logDebug(java.lang.String pMessage)
Logs an debug event with the specified message
|
void |
logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an debug event with the specified message and Throwable
|
void |
logDebug(java.lang.Throwable pThrowable)
Logs an debug event with the specified Throwable
|
void |
logError(java.lang.String pMessage)
Logs an error event with the specified message
|
void |
logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an error event with the specified message and Throwable
|
void |
logError(java.lang.Throwable pThrowable)
Logs an error event with the specified Throwable
|
void |
logInfo(java.lang.String pMessage)
Logs an info event with the specified message
|
void |
logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an info event with the specified message and Throwable
|
void |
logInfo(java.lang.Throwable pThrowable)
Logs an info event with the specified Throwable
|
void |
logWarning(java.lang.String pMessage)
Logs an warning event with the specified message
|
void |
logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an warning event with the specified message and Throwable
|
void |
logWarning(java.lang.Throwable pThrowable)
Logs an warning event with the specified Throwable
|
void |
setLoggingDebug(boolean pLogging)
Sets whether or not error log events should be logged.
|
void |
setLoggingError(boolean pLogging)
Sets whether or not error log events should be logged.
|
void |
setLoggingInfo(boolean pLogging)
Sets whether or not info log events should be logged.
|
void |
setLoggingWarning(boolean pLogging)
Sets whether or not warning log events should be logged.
|
static final java.lang.String CLASS_VERSION
static final boolean DEFAULT_LOG_INFO_STATUS
static final boolean DEFAULT_LOG_ERROR_STATUS
static final boolean DEFAULT_LOG_WARNING_STATUS
static final boolean DEFAULT_LOG_DEBUG_STATUS
boolean isLoggingInfo()
isLoggingInfo
in interface atg.core.logging.Logging
void setLoggingInfo(boolean pLogging)
setLoggingInfo
in interface atg.core.logging.Logging
boolean isLoggingWarning()
isLoggingWarning
in interface atg.core.logging.Logging
void setLoggingWarning(boolean pLogging)
setLoggingWarning
in interface atg.core.logging.Logging
boolean isLoggingError()
isLoggingError
in interface atg.core.logging.Logging
void setLoggingError(boolean pLogging)
setLoggingError
in interface atg.core.logging.Logging
boolean isLoggingDebug()
isLoggingDebug
in interface atg.core.logging.Logging
void setLoggingDebug(boolean pLogging)
setLoggingDebug
in interface atg.core.logging.Logging
void logInfo(java.lang.String pMessage)
logInfo
in interface atg.core.logging.Logging
void logInfo(java.lang.Throwable pThrowable)
logInfo
in interface atg.core.logging.Logging
void logInfo(java.lang.String pMessage, java.lang.Throwable pThrowable)
logInfo
in interface atg.core.logging.Logging
void logWarning(java.lang.String pMessage)
logWarning
in interface atg.core.logging.Logging
void logWarning(java.lang.Throwable pThrowable)
logWarning
in interface atg.core.logging.Logging
void logWarning(java.lang.String pMessage, java.lang.Throwable pThrowable)
logWarning
in interface atg.core.logging.Logging
void logError(java.lang.String pMessage)
logError
in interface atg.core.logging.Logging
void logError(java.lang.Throwable pThrowable)
logError
in interface atg.core.logging.Logging
void logError(java.lang.String pMessage, java.lang.Throwable pThrowable)
logError
in interface atg.core.logging.Logging
void logDebug(java.lang.String pMessage)
logDebug
in interface atg.core.logging.Logging
void logDebug(java.lang.Throwable pThrowable)
logDebug
in interface atg.core.logging.Logging
void logDebug(java.lang.String pMessage, java.lang.Throwable pThrowable)
logDebug
in interface atg.core.logging.Logging