LibreOffice Module connectivity (master) 1
|
#include <ConnectionLog.hxx>
Public Types | |
enum | ObjectType { CONNECTION = 0 , STATEMENT , RESULTSET , ObjectTypeCount = RESULTSET + 1 } |
Public Member Functions | |
ConnectionLog (const ::comphelper::EventLogger &_rDriverLog) | |
will construct an instance of ObjectType CONNECTION More... | |
ConnectionLog (const ConnectionLog &_rSourceLog) | |
will create an instance with the same object ID / ObjectType as a given source instance More... | |
ConnectionLog (const ConnectionLog &_rSourceLog, ObjectType _eType) | |
will create an instance of arbitrary ObjectType More... | |
sal_Int32 | getObjectID () const |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage) |
logs a given message, without any arguments, or source class/method names More... | |
template<typename ARGTYPE1 > | |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage, ARGTYPE1 _argument1) const |
template<typename ARGTYPE1 , typename ARGTYPE2 > | |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2) const |
template<typename ARGTYPE1 , typename ARGTYPE2 , typename ARGTYPE3 > | |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3) const |
template<typename ARGTYPE1 , typename ARGTYPE2 , typename ARGTYPE3 , typename ARGTYPE4 > | |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4) const |
template<typename ARGTYPE1 , typename ARGTYPE2 , typename ARGTYPE3 , typename ARGTYPE4 , typename ARGTYPE5 > | |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5) const |
Public Member Functions inherited from comphelper::EventLogger | |
EventLogger (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, const char *_pAsciiLoggerName) | |
bool | isLoggable (const sal_Int32 _nLogLevel) const |
void | log (const sal_Int32 _nLogLevel, const OUString &rMessage) const |
const css::uno::Reference< css::logging::XLogger > & | getLogger () const |
void | log (const sal_Int32 _nLogLevel, const OUString &_rMessage, ARGTYPE1 _argument1) const |
void | log (const sal_Int32 _nLogLevel, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2) const |
void | log (const sal_Int32 _nLogLevel, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3) const |
void | log (const sal_Int32 _nLogLevel, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4) const |
void | log (const sal_Int32 _nLogLevel, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5) const |
void | log (const sal_Int32 _nLogLevel, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5, ARGTYPE6 _argument6) const |
void | log (const sal_Int32 _nLogLevel, const char *_pMessage, ARGTYPE1 _argument1) const |
void | log (const sal_Int32 _nLogLevel, const char *_pMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2) const |
void | log (const sal_Int32 _nLogLevel, const char *_pMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3) const |
void | log (const sal_Int32 _nLogLevel, const char *_pMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4) const |
void | log (const sal_Int32 _nLogLevel, const char *_pMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5) const |
void | log (const sal_Int32 _nLogLevel, const char *_pMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5, ARGTYPE6 _argument6) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, ARGTYPE1 _argument1) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5, ARGTYPE6 _argument6) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const char *_pAsciiMessage, ARGTYPE1 _argument1) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const char *_pAsciiMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const char *_pAsciiMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const char *_pAsciiMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const char *_pAsciiMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5) const |
void | logp (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const char *_pAsciiMessage, ARGTYPE1 _argument1, ARGTYPE2 _argument2, ARGTYPE3 _argument3, ARGTYPE4 _argument4, ARGTYPE5 _argument5, ARGTYPE6 _argument6) const |
Private Attributes | |
const sal_Int32 | m_nObjectID |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::EventLogger | |
void | impl_log (const sal_Int32 _nLogLevel, const char *_pSourceClass, const char *_pSourceMethod, const OUString &_rMessage, const OptionalString &_rArgument1=OptionalString(), const OptionalString &_rArgument2=OptionalString(), const OptionalString &_rArgument3=OptionalString(), const OptionalString &_rArgument4=OptionalString(), const OptionalString &_rArgument5=OptionalString(), const OptionalString &_rArgument6=OptionalString()) const |
Definition at line 61 of file ConnectionLog.hxx.
Enumerator | |
---|---|
CONNECTION | |
STATEMENT | |
RESULTSET | |
ObjectTypeCount |
Definition at line 64 of file ConnectionLog.hxx.
connectivity::java::sql::ConnectionLog::ConnectionLog | ( | const ::comphelper::EventLogger & | _rDriverLog | ) |
will construct an instance of ObjectType CONNECTION
Definition at line 42 of file ConnectionLog.cxx.
connectivity::java::sql::ConnectionLog::ConnectionLog | ( | const ConnectionLog & | _rSourceLog | ) |
will create an instance with the same object ID / ObjectType as a given source instance
Definition at line 49 of file ConnectionLog.cxx.
connectivity::java::sql::ConnectionLog::ConnectionLog | ( | const ConnectionLog & | _rSourceLog, |
ConnectionLog::ObjectType | _eType | ||
) |
will create an instance of arbitrary ObjectType
Definition at line 56 of file ConnectionLog.cxx.
|
inline |
Definition at line 84 of file ConnectionLog.hxx.
References m_nObjectID.
Referenced by connectivity::java_sql_Statement_Base::getStatementObjectID().
|
inline |
logs a given message, without any arguments, or source class/method names
Definition at line 87 of file ConnectionLog.hxx.
References comphelper::EventLogger::log(), and m_nObjectID.
Referenced by connectivity::java_sql_PreparedStatement::clearParameters(), connectivity::java_sql_Connection::construct(), connectivity::java_sql_Connection::createStatement(), connectivity::java_sql_Connection::disposing(), connectivity::java_sql_Statement_Base::disposing(), connectivity::java_sql_PreparedStatement::execute(), connectivity::java_sql_Statement_Base::execute(), connectivity::java_sql_PreparedStatement::executeQuery(), connectivity::java_sql_Statement_Base::executeQuery(), connectivity::java_sql_PreparedStatement::executeUpdate(), connectivity::java_sql_Statement_Base::executeUpdate(), connectivity::java_sql_DatabaseMetaData::getBestRowIdentifier(), connectivity::java_sql_DatabaseMetaData::getCrossReference(), connectivity::java_sql_Statement_Base::getGeneratedValues(), connectivity::java_sql_DatabaseMetaData::getIndexInfo(), connectivity::java_sql_DatabaseMetaData::getTables(), connectivity::java_sql_Statement_Base::getUpdateCount(), connectivity::java_sql_DatabaseMetaData::impl_callBooleanMethod(), connectivity::java_sql_DatabaseMetaData::impl_callBooleanMethodWithIntArg(), connectivity::java_sql_DatabaseMetaData::impl_callIntMethod_ThrowRuntime(), connectivity::java_sql_DatabaseMetaData::impl_callIntMethod_ThrowSQL(), connectivity::java_sql_DatabaseMetaData::impl_callResultSetMethod(), connectivity::java_sql_DatabaseMetaData::impl_callResultSetMethodWithStrings(), connectivity::java_sql_DatabaseMetaData::impl_callStringMethod(), connectivity::java_sql_Connection::loadDriverFromProperties(), connectivity::java_sql_Connection::nativeSQL(), connectivity::java_sql_Connection::prepareCall(), connectivity::java_sql_Connection::prepareStatement(), connectivity::java_sql_PreparedStatement::setBinaryStream(), connectivity::java_sql_PreparedStatement::setBoolean(), connectivity::java_sql_PreparedStatement::setByte(), connectivity::java_sql_PreparedStatement::setBytes(), connectivity::java_sql_PreparedStatement::setCharacterStream(), connectivity::java_sql_PreparedStatement::setDate(), connectivity::java_sql_PreparedStatement::setDouble(), connectivity::java_sql_Statement_Base::setEscapeProcessing(), connectivity::java_sql_Statement_Base::setFetchDirection(), connectivity::java_sql_Statement_Base::setFetchSize(), connectivity::java_sql_PreparedStatement::setFloat(), connectivity::java_sql_PreparedStatement::setInt(), connectivity::java_sql_PreparedStatement::setLong(), connectivity::java_sql_PreparedStatement::setNull(), connectivity::java_sql_PreparedStatement::setObjectNull(), connectivity::java_sql_PreparedStatement::setObjectWithInfo(), connectivity::java_sql_Statement_Base::setResultSetConcurrency(), connectivity::java_sql_Statement_Base::setResultSetType(), connectivity::java_sql_PreparedStatement::setShort(), connectivity::java_sql_PreparedStatement::setString(), connectivity::java_sql_PreparedStatement::setTime(), connectivity::java_sql_PreparedStatement::setTimestamp(), connectivity::java_sql_DatabaseMetaData::supportsConvert(), and connectivity::java_sql_DatabaseMetaData::supportsResultSetConcurrency().
|
inline |
Definition at line 93 of file ConnectionLog.hxx.
References comphelper::EventLogger::log(), and m_nObjectID.
|
inline |
Definition at line 99 of file ConnectionLog.hxx.
References comphelper::EventLogger::log(), and m_nObjectID.
|
inline |
Definition at line 105 of file ConnectionLog.hxx.
References comphelper::EventLogger::log(), and m_nObjectID.
|
inline |
Definition at line 111 of file ConnectionLog.hxx.
References comphelper::EventLogger::log(), and m_nObjectID.
|
inline |
Definition at line 117 of file ConnectionLog.hxx.
References comphelper::EventLogger::log(), and m_nObjectID.
|
private |
Definition at line 74 of file ConnectionLog.hxx.
Referenced by getObjectID(), and log().