dblog-debug3
All checks were successful
Deploy on push / deploy (push) Successful in 22s

This commit is contained in:
Untone 2024-03-28 16:30:04 +03:00
parent 556857fc28
commit 6bc4fe42c4

View File

@ -106,7 +106,9 @@ def after_cursor_execute(conn, cursor, statement, parameters, context, executema
if parameters
else f'{statement}'.replace('\n', ' ')
)
logger.debug(f'{(conn, cursor, statement, parameters, context, executemany)}')
logger.debug(conn)
logger.debug(cursor)
logger.debug(context)
if elapsed > 1:
conn.last_statement = str(statement)
logger.debug(f"\n{query}\n{'*' * math.floor(elapsed)} {elapsed:.3f} s\n")