Skip to content

Add SetErrorLog function#1190

Open
c4rlo wants to merge 1 commit into
mattn:masterfrom
c4rlo:error-log
Open

Add SetErrorLog function#1190
c4rlo wants to merge 1 commit into
mattn:masterfrom
c4rlo:error-log

Conversation

@c4rlo
Copy link
Copy Markdown

@c4rlo c4rlo commented Sep 30, 2023

This function sets a callback that SQLite invokes when it detects an anomaly. See https://sqlite.org/errlog.html.

@c4rlo
Copy link
Copy Markdown
Author

c4rlo commented Dec 23, 2023

I've just rebased this.

Any word from the maintainers on this? I think this would be a good enhancement to have. Quoting the SQLite docs linked above:

This mechanism is very helpful in tracking obscure problems that occur rarely and in the field. Application developers are encouraged to take advantage of the error logging facility of SQLite in their products, as it is very low CPU and memory cost but can be a huge aid for debugging.

This function sets a callback that SQLite invokes when it detects an
anomaly. See https://sqlite.org/errlog.html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant