aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/log.h')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/log.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/log.h b/SQLiteStudio3/coreSQLiteStudio/log.h
index dddb513..1cf8dc5 100644
--- a/SQLiteStudio3/coreSQLiteStudio/log.h
+++ b/SQLiteStudio3/coreSQLiteStudio/log.h
@@ -8,9 +8,14 @@
#include <QList>
#include <QVariant>
+class QueryExecutorStep;
+
API_EXPORT void logSql(Db* db, const QString& str, const QHash<QString,QVariant>& args, Db::Flags flags);
API_EXPORT void logSql(Db* db, const QString& str, const QList<QVariant>& args, Db::Flags flags);
+API_EXPORT void logExecutorStep(QueryExecutorStep* step);
+API_EXPORT void logExecutorAfterStep(const QString& str);
API_EXPORT void setSqlLoggingEnabled(bool enabled);
API_EXPORT void setSqlLoggingFilter(const QString& filter);
+API_EXPORT void setExecutorLoggingEnabled(bool enabled);
#endif // LOG_H