Skip to content

Setting SQLite3 error-logging callback #419

Open
@sburton84

Description

@sburton84

The SQLite3 library provides a way of setting an error-logging callback, as described at https://www.sqlite.org/errlog.html but SQLiteCpp doesn't seem to provide a way of setting this callback. As far as I can tell, SQLiteCpp doesn't set this callback internally either.

What is the recommended way, when using SQLiteCpp, of logging the errors that would be sent to this callback? Is setting this callback unnecessary when using SQLiteCpp because any such errors are guaranteed to be thrown as exceptions? Or should I be using the SQLite3 interface directly, calling sqlite3_config as described in the above link, to set this callback?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions