|
Lightweight 0.20260303.0
|
Enables protocol-level ODBC trace logging for the given connection. More...
#include <SqlScopedTraceLogger.hpp>
Public Member Functions | |
| SqlScopedTraceLogger (SqlConnection &connection) | |
| Constructs a scoped trace logger for the given SQL connection, logging to standard output. | |
| SqlScopedTraceLogger (SqlStatement &stmt) | |
| Constructs a scoped trace logger for the given SQL statement, logging to standard output. | |
| SqlScopedTraceLogger (SQLHDBC hDbc, std::filesystem::path const &logFile) | |
| Constructs a scoped trace logger for the given native ODBC handle, logging to the specified file. | |
| SqlScopedTraceLogger (SqlScopedTraceLogger &&)=delete | |
| SqlScopedTraceLogger & | operator= (SqlScopedTraceLogger &&)=delete |
| SqlScopedTraceLogger (SqlScopedTraceLogger const &)=delete | |
| SqlScopedTraceLogger & | operator= (SqlScopedTraceLogger const &)=delete |
Enables protocol-level ODBC trace logging for the given connection.
The trace logging is active for the lifetime of this object.
The logging output is sent to the standard output stream.
Definition at line 20 of file SqlScopedTraceLogger.hpp.
|
inlineexplicit |
Constructs a scoped trace logger for the given SQL connection, logging to standard output.
Definition at line 26 of file SqlScopedTraceLogger.hpp.
|
inlineexplicit |
Constructs a scoped trace logger for the given SQL statement, logging to standard output.
Definition at line 38 of file SqlScopedTraceLogger.hpp.
|
inlineexplicit |
Constructs a scoped trace logger for the given native ODBC handle, logging to the specified file.
Definition at line 50 of file SqlScopedTraceLogger.hpp.
|
inline |
Definition at line 67 of file SqlScopedTraceLogger.hpp.