public class JDBCConnectionPool.SQLLogging extends java.lang.Object implements ApplicationLogging
CLASS_VERSION, DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
JDBCConnectionPool.SQLLogging(JDBCConnectionPool pLog) |
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.
|
public JDBCConnectionPool.SQLLogging(JDBCConnectionPool pLog)
public boolean isLoggingInfo()
isLoggingInfo
in interface atg.core.logging.Logging
isLoggingInfo
in interface ApplicationLogging
public void setLoggingInfo(boolean pLogging)
setLoggingInfo
in interface atg.core.logging.Logging
setLoggingInfo
in interface ApplicationLogging
public boolean isLoggingWarning()
isLoggingWarning
in interface atg.core.logging.Logging
isLoggingWarning
in interface ApplicationLogging
public void setLoggingWarning(boolean pLogging)
setLoggingWarning
in interface atg.core.logging.Logging
setLoggingWarning
in interface ApplicationLogging
public boolean isLoggingError()
isLoggingError
in interface atg.core.logging.Logging
isLoggingError
in interface ApplicationLogging
public void setLoggingError(boolean pLogging)
setLoggingError
in interface atg.core.logging.Logging
setLoggingError
in interface ApplicationLogging
public boolean isLoggingDebug()
isLoggingDebug
in interface atg.core.logging.Logging
isLoggingDebug
in interface ApplicationLogging
public void setLoggingDebug(boolean pLogging)
setLoggingDebug
in interface atg.core.logging.Logging
setLoggingDebug
in interface ApplicationLogging
public void logInfo(java.lang.String pMessage)
logInfo
in interface atg.core.logging.Logging
logInfo
in interface ApplicationLogging
public void logInfo(java.lang.Throwable pThrowable)
logInfo
in interface atg.core.logging.Logging
logInfo
in interface ApplicationLogging
public void logInfo(java.lang.String pMessage, java.lang.Throwable pThrowable)
logInfo
in interface atg.core.logging.Logging
logInfo
in interface ApplicationLogging
public void logWarning(java.lang.String pMessage)
logWarning
in interface atg.core.logging.Logging
logWarning
in interface ApplicationLogging
public void logWarning(java.lang.Throwable pThrowable)
logWarning
in interface atg.core.logging.Logging
logWarning
in interface ApplicationLogging
public void logWarning(java.lang.String pMessage, java.lang.Throwable pThrowable)
logWarning
in interface atg.core.logging.Logging
logWarning
in interface ApplicationLogging
public void logError(java.lang.String pMessage)
logError
in interface atg.core.logging.Logging
logError
in interface ApplicationLogging
public void logError(java.lang.Throwable pThrowable)
logError
in interface atg.core.logging.Logging
logError
in interface ApplicationLogging
public void logError(java.lang.String pMessage, java.lang.Throwable pThrowable)
logError
in interface atg.core.logging.Logging
logError
in interface ApplicationLogging
public void logDebug(java.lang.String pMessage)
logDebug
in interface atg.core.logging.Logging
logDebug
in interface ApplicationLogging
public void logDebug(java.lang.Throwable pThrowable)
logDebug
in interface atg.core.logging.Logging
logDebug
in interface ApplicationLogging
public void logDebug(java.lang.String pMessage, java.lang.Throwable pThrowable)
logDebug
in interface atg.core.logging.Logging
logDebug
in interface ApplicationLogging