|
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 19 of file SqlScopedTraceLogger.hpp.
|
inlineexplicit |
Constructs a scoped trace logger for the given SQL connection, logging to standard output.
Definition at line 25 of file SqlScopedTraceLogger.hpp.
|
inlineexplicit |
Constructs a scoped trace logger for the given SQL statement, logging to standard output.
Definition at line 37 of file SqlScopedTraceLogger.hpp.
|
inlineexplicit |
Constructs a scoped trace logger for the given native ODBC handle, logging to the specified file.
Definition at line 49 of file SqlScopedTraceLogger.hpp.
|
inline |
Definition at line 61 of file SqlScopedTraceLogger.hpp.