|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.service.resourcepool.JDBCConnectionPool.SQLLogging
public class JDBCConnectionPool.SQLLogging
A utility class which builds a separate logging interface for SQL logging to have access to. This way SQL logging can be turned on and off separate from the normal service logging..
| Field Summary |
|---|
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
CLASS_VERSION, DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
JDBCConnectionPool.SQLLogging(JDBCConnectionPool pLog)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCConnectionPool.SQLLogging(JDBCConnectionPool pLog)
| Method Detail |
|---|
public boolean isLoggingInfo()
isLoggingInfo in interface ApplicationLoggingpublic void setLoggingInfo(boolean pLogging)
setLoggingInfo in interface ApplicationLoggingpublic boolean isLoggingWarning()
isLoggingWarning in interface ApplicationLoggingpublic void setLoggingWarning(boolean pLogging)
setLoggingWarning in interface ApplicationLoggingpublic boolean isLoggingError()
isLoggingError in interface ApplicationLoggingpublic void setLoggingError(boolean pLogging)
setLoggingError in interface ApplicationLoggingpublic boolean isLoggingDebug()
isLoggingDebug in interface ApplicationLoggingpublic void setLoggingDebug(boolean pLogging)
setLoggingDebug in interface ApplicationLoggingpublic void logInfo(java.lang.String pMessage)
logInfo in interface ApplicationLoggingpublic void logInfo(java.lang.Throwable pThrowable)
logInfo in interface ApplicationLogging
public void logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logInfo in interface ApplicationLoggingpublic void logWarning(java.lang.String pMessage)
logWarning in interface ApplicationLoggingpublic void logWarning(java.lang.Throwable pThrowable)
logWarning in interface ApplicationLogging
public void logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logWarning in interface ApplicationLoggingpublic void logError(java.lang.String pMessage)
logError in interface ApplicationLoggingpublic void logError(java.lang.Throwable pThrowable)
logError in interface ApplicationLogging
public void logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logError in interface ApplicationLoggingpublic void logDebug(java.lang.String pMessage)
logDebug in interface ApplicationLoggingpublic void logDebug(java.lang.Throwable pThrowable)
logDebug in interface ApplicationLogging
public void logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logDebug in interface ApplicationLogging
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||